[JBossWS] - Re: wsdl based web-service (like a paypal simulator)?
by oskar.carlstedt
Hi!
The WSDL file imports two XML-schemas that create a circular reference. A good point would be to ask them to change their design. The wsdl file at https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl imports two xml-schemas:
| <import namespace="urn:ebay:apis:CoreComponentTypes" schemaLocation="CoreComponentTypes.xsd"/>
| <import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="eBLBaseComponents.xsd"/>
|
The CoreComponentTypes.xsd contains an import of eBLBaseComponents.xsd
| <xs:import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="eBLBaseComponents.xsd"/>
|
and the eBLBaseComponents.xsd contains an import of CoreComponentTypes.xsd
| <import namespace="urn:ebay:apis:CoreComponentTypes" schemaLocation="CoreComponentTypes.xsd"/>
|
And all this makes a circular reference between the two schema imports. Maybe one can file this as an extra feature/bug in JBoss. It shall not hang and it could be a good if JBoss was controlling if a schema already has been imported during the scan for schema imports.
Hope this helps!
Kind regards
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092851#4092851
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092851
17 years, 1 month
[JBossWS] - Stop Empty SOAP elements
by jizzoe
Hi All,
I'm using JBoss WebServices with JAX-WS to connect to a Web Service. I use wsconsume to generate Java Classes.
Here's my dliema. In some of my generated classes that I'm using as request objects, I instantiate the object, populate some fields and send it along. Problem is all of those fields are getting generated in the SOAP message, even if I left it as null. On the Web Service side, it's been interpreted as empty string instead of NULL, which causes problems.
Any idea why null values still get generated in SOAP? And any idea hot to stop this from happening? These fields are defined as nillable in the WSDL.
Any help is greatly appreciated.
Thanks,
Joe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092784#4092784
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092784
17 years, 1 month