Back Forum Reply New
Hello,

I am having trouble getting my web service client to work.  I am making a call to a fromS uri and receive the following error:

org..ws.soap.client.SoapFaultClient  Exception: java.lang.NullPointerException

Making the same call through soapUI works perfectly fine.

Is there something I'm missing to use/setup with fromS ?

(I'm not sure how to see the SOAP message that is generate nor how to see the response to help debug).

Thank you for any help.

It's really simple to enable logging and tracing of SOAP messages:

See 4.4. Message Logging and Tracing at sprin...ml/common.html

mons.fromclient.UsernamePasswordCredentialsquot;gt;        lt;constructor-arg value=quot;myUserNamequot;/gt;        lt;constructor-arg value=quot;myPasswordquot;/gt;      lt;/beangt; lt;/propertygt;          lt;/beangt;       lt;/propertygt;       lt;property name=quot;defaultUriquot;gt;lt;valuegt;myUrilt;/valuegt;      lt;/propertygt;   lt;/beangt;
Is this not correct?

Another small thing.  In the logging response, I received this message:

Code:
DEBUG [client.MessageTracing.received] Received response [SaajSoapMessage {soap/envelope/}Fault] for request [SaajSoapMessage {myNameSpace}OpGet]
Is there actually a XML string to look at or is this the message in it's entirety?

Thanks again.
¥
Back Forum Reply New