Hi everybody. I'm new to the list, and also new to CXF.
Let me congratulate you on your work, as I find it a great framework.
I'm using it with spring and it gives less problems that using spring by
its own.
It wasn't even necessary to write to the users list until now, which
gives an idea of how good its working.

What brings me here today is a question regarding a NullpointerException
on a dynamic proxy client.
I declared this client on CXF (wsdl2java) generated code as:

<!-- Web service dynamic proxy -->
   <jaxws:client id="manufacturerService"

serviceClass="org.ws_i.sampleapplications.supplychainmanagement._2002_10.manufacturer_wsdl.ManufacturerPortType"

address="http://localhost:8888/manufacturer/services/ManufacturerA"/>

(the wsdl is available at
http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl).
It works fine as long as the manufacturer services replies with a
result, but as soon as it returns a fault, I get:

java.lang.NullPointerException
   at $Proxy65.submitPO(Unknown Source)

and that's it, no more stack trace. There is no easy way to debug it as
it is a proxy and my eclipse doesn't show the source of it.
Is the dynamic proxy client not supposed to be used with faults?. Excuse
me if I sk something silly, as I'm new to CXF.
Is there something I can do to figure out which is the cause of the null
pointer?.

Thanks in advance,
                             JP


Reply via email to