Hi,
I have a scenario where in I am consuming a Siebel web service that has
spaces in the namespace of the schema of the WSDL document.
The invocation is via a BPM webservice orchestration tool. The tool reports
the error as shown below,
Couldn't parse schema in http://siebel.com/asi/
java.lang.RuntimeException: Couldn't parse schema in
http://siebel.com/asi/
at
org.apache.ode.bpel.compiler.WSDLRegistry.captureSchemas(WSDLRegistry.java:214)
at
org.apache.ode.bpel.compiler.WSDLRegistry.addDefinition(WSDLRegistry.java:140)
at
org.apache.ode.bpel.compiler.BpelCompiler.addWsdlImport(BpelCompiler.java:193)
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:812)
at
org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:664)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
Caused by: java.net.URISyntaxException: Illegal character in path at index
28: http://www.siebel.com/xml/product schema
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
As we can see here the root cause is
Caused by: java.net.URISyntaxException: Illegal character in path at index
28: http://www.siebel.com/xml/product schema
I tried with apache axis2 ver 1.3 to generate the stub and see if usage of
whitespace in namespaces is allowed or not. Axis2 handled this very
transparently. The service invocatoin was successfull.
As per the RFC http://www.rfc-editor.org/rfc/rfc3986.txt, what I understand
is whitespaces have to be %-encoded as %20 in the URI.
Is it a standard that the tool vendors have to support this or not?
If yes, then whose responsibility is it to do the encoding here,
is it the responsibility of the service provider or the service consumer.
regards
sathwik
Please consider the environment before printing this e-mail
Disclaimer: This communication is for the exclusive use of the intended
recipient(s) and shall not attach any liability on the originator or ITC
Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group
Companies. If you are the addressee, the contents of this e-mail are intended
for your use only and it shall not be forwarded to any third party, without
first obtaining written authorization from the originator or ITC Infotech India
Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may
contain information which is confidential and legally privileged and the same
shall not be used or dealt with by any third party in any manner
whatsoever without the specific consent of ITC Infotech India Ltd./ its
Holding company/ its Subsidiaries/ its Group Companies.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]