Error calling HTTPS Webservice
cheaway Apr 18, 2011 10:35 AMHi,
I am experiencing some problems accessing a webservice via HTTPS after having upgraded from JBoss 5.1.0 to 6.0.0.Final.
The keystore and keystorePassword are specified as java System properties like before. If I use the generated webservice stubs through a standalone client, everything works fine. Hoever, once I deploy my ejb (which accesses the webservice) in the server, I get loads of the following warnings:
{code}2011-04-18 15:56:40,989 WARN [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Could not unwrap Operation {http://services.someurl.com/something}submitGetSomethingRequest to match method "public abstract void com.myconnector.Connector.submitGetSomethingRequest(com.myconnector.GetSomethingHeaders,com.myconnector.Fields,javax.xml.ws.Holder,javax.xml.ws.Holder,javax.xml.ws.Holder)"{code}
and eventually this:
{code}
2011-04-18 15:56:41,022 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Sending POST Message with Headers to https://services.someurl.com/something Conduit :{http://services.someurl.com/something}PerSecurityWSPort.http-conduit
Content-Type: text/xml; charset=UTF-8
2011-04-18 15:56:41,022 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) SOAPAction: ""
2011-04-18 15:56:41,022 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Accept: */*
2011-04-18 15:56:41,022 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) No Trust Decider for Conduit '{http://services.someurl.com/something}PerSecurityWSPort.http-conduit'. An afirmative Trust Decision is assumed.
2011-04-18 15:56:41,111 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Response Code: 500 Conduit: {http://services.someurl.com/something}PerSecurityWSPort.http-conduit
2011-04-18 15:56:41,111 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Content length: 457
2011-04-18 15:56:41,111 DEBUG [org.apache.cxf.transport.http.HTTPConduit] (Thread-222 (group:HornetQ-client-global-threads-2007523556)) Header fields:
null: [HTTP/1.1 500 Validation Error]
Date: [Mon, 18 Apr 2011 13:56:41 GMT]
Content-Length: [457]
Content-Type: [text/xml; charset=utf-8]
Connection: [close]
Server: [ACE XML Gateway]
{code}
Apparently, something is wrong with my request! I would love to simply log whatever is being send and received to and from the webservice, but so far, I have been unable to find anything on the internet about how to enable logging the SOAP in- and output in JBoss 6.
Any help is greatly apreciated!
Cheers,
Che