[jboss-user] [JBossWS] - Re: wsdl based web-service (like a paypal simulator)?

oskar.carlstedt do-not-reply at jboss.com
Tue Oct 9 02:36:05 EDT 2007


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



More information about the jboss-user mailing list