You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (gmail)" <ja...@gmail.com> on 2006/11/11 00:01:51 UTC
[Interop] Invalid URI in MessageTest-1G/SOAPService.wsdl
Woden reports a URISyntaxException when parsing this WSDL:
Woden[Error],0:0,WSDL506,Could not create a URI from the string
"?op=EchoInt;int={int};".,java.net.URISyntaxException:Illegal character in
query at index 16: ?op=EchoInt;int={int};
Woden is using the constructor of the class java.net.URI with the argument
"?op=EchoInt;int={int};". The left curly brace is the problem.
The relevant operation is:
<operation ref="tns:EchoInt"
wsoap:action="http://example.org/message-test/action/EchoInt"
whttp:location="?op=EchoInt;int={int};">
Re: [Interop] Invalid URI in MessageTest-1G/SOAPService.wsdl
Posted by "John Kaputin (gmail)" <ja...@gmail.com>.
Yep Jeremy, that's the problem. Just looked at RFC3987 on IRIs. We discuss
IRI support in Woden some time back and probably need to revisit it on the
mailing list.
John.
On 11/10/06, Jeremy Hughes <hu...@apache.org> wrote:
>
> Hi John ....
>
> On 11/10/06, John Kaputin (gmail) <ja...@gmail.com> wrote:
> > Woden reports a URISyntaxException when parsing this WSDL:
> >
> > Woden[Error],0:0,WSDL506,Could not create a URI from the string
> > "?op=EchoInt;int={int};".,java.net.URISyntaxException:Illegal
> > character in query at index 16: ?op=EchoInt;int={int};
>
> I think this is because { is a valid character for an IRI but not a
> URI. Unfortunately URI java class doesn't support IRIs and now won't
> in Java 6 either. I think this is a limitation of Java (unless we want
> to implement an IRI class ourselves ... )
>
> >
> > Woden is using the constructor of the class java.net.URI with the
> argument
> > "?op=EchoInt;int={int};". The left curly brace is the problem.
> >
> > The relevant operation is:
> > <operation ref="tns:EchoInt"
> > wsoap:action="http://example.org/message-test/action/EchoInt
> > "
> > whttp:location="?op=EchoInt;int={int};">
>
> Jeremy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: woden-dev-help@ws.apache.org
>
>
Re: [Interop] Invalid URI in MessageTest-1G/SOAPService.wsdl
Posted by Jeremy Hughes <hu...@apache.org>.
Hi John ....
On 11/10/06, John Kaputin (gmail) <ja...@gmail.com> wrote:
> Woden reports a URISyntaxException when parsing this WSDL:
>
> Woden[Error],0:0,WSDL506,Could not create a URI from the string
> "?op=EchoInt;int={int};".,java.net.URISyntaxException:Illegal
> character in query at index 16: ?op=EchoInt;int={int};
I think this is because { is a valid character for an IRI but not a
URI. Unfortunately URI java class doesn't support IRIs and now won't
in Java 6 either. I think this is a limitation of Java (unless we want
to implement an IRI class ourselves ... )
>
> Woden is using the constructor of the class java.net.URI with the argument
> "?op=EchoInt;int={int};". The left curly brace is the problem.
>
> The relevant operation is:
> <operation ref="tns:EchoInt"
> wsoap:action="http://example.org/message-test/action/EchoInt
> "
> whttp:location="?op=EchoInt;int={int};">
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org