ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Graf" <alex.g...@student.htw-berlin.de>
Subject Re: Web services - jaxb binding
Date Wed, 16 Mar 2011 18:39:45 GMT
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 <jlr@les7arts.com>:

> Interesting... Looking forward....
>
> Jacques
>
> From: "Alexander Graf" <alex.graf@student.htw-berlin.de>
>> 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
>>

Mime
View raw message