Okay it is definitely not working. I commented out the lines:

OMAttribute defaultNS = factory.createOMAttribute("xmlns", null, ModelService.TNS);
resService.addAttribute(defaultNS);

in

org.ofbiz.webapp.event.SOAPEventHandler

and got a response without xmlns="http://ofbiz.apache.org/service/
but it is still not working. The response is not unmarshalled, seems to be ignored.

Any ideas? is there really nobody who uses jax-ws???



Am 16.03.2011, 08:43 Uhr, schrieb Jacques Le Roux <[email protected]>:

Interesting... Looking forward....

Jacques

From: "Alexander Graf" <[email protected]>
Okay I got something interesting:
http://synodinos.net/2007/08/02/web-services-interoperability-fable-with-java-and-php/ The author Dionysios G. Synodinos says, that "An ENVELOPE described with an rpc-literal binding MUST place the part accessor elements for parameters and return value in no namespace."
 That means the response of ofbiz is ignored, because
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><findPartiesByIdResponse xmlns="http://ofbiz.apache.org/service/";><map-Map>
 contains the namespace http://ofbiz.apache.org/service/
Let's play a bit and find out how to disable it. Maybe that's the reason for all the trouble.
 Regards Alexander

Reply via email to