You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-user@ws.apache.org by Bruno Harbulot <Br...@manchester.ac.uk> on 2006/06/06 15:49:03 UTC
Re: Importing a custom made WSDL
Hi,
It seems that you've defined AsynchronousOperationsPortType in
asyncSpec.wsdl and that you're trying to use
AsynchronousBusinessOperationsPortType, which should probably be in
AsynchronousBusinessOperationsInvocation.wsdl,but it's not in what
you've just sent. (Perhaps you should use a different namespace for
these two imported WSDL files as well).
Cheers,
Bruno.
Asaf Lahav wrote:
> /Hi all, /
>
> /I'm a little stuck with the MUSE WSDL2JAVA utility./
>
> /I created a WSDL file containing my definitions for asynchronous
> invocations of operations (find attached a file named asyncSpec.wsdl)/
>
> /Apparently, the asyncSpec.wsdl file and the file which is importing it
> seem valid… but when I try to generate the Java artifacts using the
> WSDL2JAVA it fails./
>
> / /
>
> /Also see the output.txt file for the output I'm getting while
> generating the Java artifacts./
>
> /(PO.WSDL file is the WSDL of the service I'm trying to generate)/
>
> / /
>
> /Do you have an idea why it fails?/
>
> /Could that be a bug in the WSDL2JAVA utility?/
>
> / /
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wsrf-user-unsubscribe@ws.apache.org
For additional commands, e-mail: wsrf-user-help@ws.apache.org
Re: Importing a custom made WSDL
Posted by Bruno Harbulot <Br...@manchester.ac.uk>.
What happens if you remove the portType in the Asynchronous...WSDL? It
doesn't seem to be necessary. Perhaps Wsdl2Java is looking for a binding
for that port.
I'm not sure I've ever seen a tool where importing a WSDL file into
another worked well (or at least as I was expecting it). I think one way
to go (before WSDL 2.0, if ever) would be to have an XSLT transform that
simulates the inheritance by inserting the right XML elements at the
right places. That's more or less what I'm using when import doesn't
work (although I haven't got a general solution yet).
Cheers,
Bruno.
Asaf Lahav wrote:
> Hi Bruno,
> I accidentally attached the wrong file to the email.
> Yet, the problem persists...
>
> Do you have any idea what could be the reason the WSDL2JAVA fails?
>
> Asaf Lahav
---------------------------------------------------------------------
To unsubscribe, e-mail: wsrf-user-unsubscribe@ws.apache.org
For additional commands, e-mail: wsrf-user-help@ws.apache.org
RE: Importing a custom made WSDL
Posted by Asaf Lahav <as...@primagrid.com>.
Hi Bruno,
I accidentally attached the wrong file to the email.
Yet, the problem persists...
Do you have any idea what could be the reason the WSDL2JAVA fails?
Asaf Lahav
VP R&D, Prima Grid LTD.
Cellular: 972-54-4717955
Phone: 972-3-6540255
Fax: 972-3-6540254
-----Original Message-----
From: Bruno Harbulot [mailto:Bruno.Harbulot@manchester.ac.uk]
Sent: Tuesday, June 06, 2006 3:49 PM
To: wsrf-user@ws.apache.org
Subject: Re: Importing a custom made WSDL
Hi,
It seems that you've defined AsynchronousOperationsPortType in
asyncSpec.wsdl and that you're trying to use
AsynchronousBusinessOperationsPortType, which should probably be in
AsynchronousBusinessOperationsInvocation.wsdl,but it's not in what
you've just sent. (Perhaps you should use a different namespace for
these two imported WSDL files as well).
Cheers,
Bruno.
Asaf Lahav wrote:
> /Hi all, /
>
> /I'm a little stuck with the MUSE WSDL2JAVA utility./
>
> /I created a WSDL file containing my definitions for asynchronous
> invocations of operations (find attached a file named asyncSpec.wsdl)/
>
> /Apparently, the asyncSpec.wsdl file and the file which is importing it
> seem valid. but when I try to generate the Java artifacts using the
> WSDL2JAVA it fails./
>
> / /
>
> /Also see the output.txt file for the output I'm getting while
> generating the Java artifacts./
>
> /(PO.WSDL file is the WSDL of the service I'm trying to generate)/
>
> / /
>
> /Do you have an idea why it fails?/
>
> /Could that be a bug in the WSDL2JAVA utility?/
>
> / /
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: wsrf-user-unsubscribe@ws.apache.org
For additional commands, e-mail: wsrf-user-help@ws.apache.org