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
Buildfile: build.xml
init:
[echo] Using webapp dir: C:\Tomcat/webapps/muse
[mkdir] Created dir:
C:\testServices\testAsync2\generated\.xmlbeans\lib
generate:
[mkdir] Created dir: C:\Tomcat\webapps\muse\_tmp_
[copy] Copying 1 file to
C:\Tomcat\webapps\muse\_tmp_
[wsdl2Java] --> 06-04-06 17:00:02 DEBUG [main]
ProjectResourceBundle:
getBundle(org.apache.ws,org.apache.ws.util.i18n,resource,nul
l,...)
[wsdl2Java] --> 06-04-06 17:00:02 DEBUG [main]
ProjectResourceBundle: loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.ws.util.resource, locale iw_IL
[wsdl2Java] --> 06-04-06 17:00:02 DEBUG [main]
ProjectResourceBundle: loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.ws.resource, locale iw_IL
[wsdl2Java] --> 06-04-06 17:00:02 DEBUG [main]
ProjectResourceBundle: Created
org.apache.ws.util.i18n.resource, linked to parent null
[wsdl2Java] --> 06-04-06 17:00:02 DEBUG [main]
ProjectResourceBundle:
getBundle(org.apache.ws.resource,org.apache.ws.resource.i18n
,resource,null,...)
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle: loadBundle: Ignoring
MissingResourceException: Can't find bundle for base name
org.apache.ws.resource.resource, locale iw_IL
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle: Root package not found, cross link to
org.apache.ws.util.i18n.resource
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle: Created
org.apache.ws.resource.i18n.resource, linked to parent
org.apache.ws.util.i18n.resource
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle:
org.apache.ws.resource.i18n.resource::handleGetObject(OPT_OU
TPUT_DIR_FOR_GEN_SRC)
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle:
org.apache.ws.resource.i18n.resource::handleGetObject(OPT_CL
ASSPATH_SENT_TO_XMLBEANS)
[wsdl2Java] --> 06-04-06 17:00:03 DEBUG [main]
ProjectResourceBundle:
org.apache.ws.resource.i18n.resource::handleGetObject(OPT_EN
ABLE_VERBOSE)
[wsdl2Java] Processing WSDL file
"C:\Tomcat\webapps\muse\_tmp_\PO.wsdl"...
[wsdl2Java] Retrieving document at
'C:\Tomcat\webapps\muse\_tmp_\PO.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/wsx/WS-MetadataExchange-2004_09.wsdl', relative
to 'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl',
relative to 'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/wsdm/MUWS-Part2-1_0.wsdl', relative to
'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl',
relative to 'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl',
relative to 'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl',
relative to
'file:/C:/Tomcat/webapps/muse/spec/wsn/WS-BaseNotification-
1_2-Draft_01.wsdl'.
[wsdl2Java] Retrieving document at
'../wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl', relative
to
'file:/C:/Tomcat/webapps/muse/spec/wsn/WS-BaseNotification-
1_2-Draft_01.wsdl'.
[wsdl2Java] Retrieving document at
'../spec/boasync/AsynchronousBusinessOperationsInvocation.w
sdl', relative to
'file:/C:/Tomcat/webapps/muse/_tmp_/PO.wsdl'.
[wsdl2Java] Retrieving document at
'../wsx/WS-MetadataExchange-2004_09.wsdl', relative to
'file:/C:/Tomcat/webapps/muse/spec/boasync/AsynchronousBusi
nessOperationsInvocation.wsdl'.
[wsdl2Java] Retrieving document at
'../wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl', relative
to
'file:/C:/Tomcat/webapps/muse/spec/boasync/AsynchronousBusi
nessOperationsInvocation.wsdl'.
[wsdl2Java] Retrieving document at
'../wsdm/MUWS-Part2-1_0.wsdl', relative to
'file:/C:/Tomcat/webapps/muse/spec/boasync/AsynchronousBusi
nessOperationsInvocation.wsdl'.
[wsdl2Java] Retrieving document at
'../wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl',
relative to
'file:/C:/Tomcat/webapps/muse/spec/boasync/AsynchronousBusi
nessOperationsInvocation.wsdl'.
[wsdl2Java] Generating XMLBeans for WSDL file
"C:\Tomcat\webapps\muse\_tmp_\PO.wsdl"...
[wsdl2Java] Found existing generated xmlbean jar in the
classpath at location:
C:\Tomcat\webapps\muse\WEB-INF\lib\PO-xbeans.jar
...This will be removed from the classpath sent to Scomp in
order to regenerate all imports.
[wsdl2Java] Loading wsdl file
C:\Tomcat\webapps\muse\_tmp_\PO.wsdl
[wsdl2Java] Processing 1 schema(s) in
C:\Tomcat\webapps\muse\_tmp_\PO.wsdl
[wsdl2Java] Processing WSRF WSDL port "PO"...
[wsdl2Java]
[wsdl2Java]
[wsdl2Java] Unable to find a port type info for the
implemented capability: {http://www.primagrid.com/specs
/services/businessoperations/asynchronousinvocations}Asy
nchronousBusinessOperationsPortType!!!!!!
[wsdl2Java]
[delete] Deleting directory
C:\Tomcat\webapps\muse\_tmp_
BUILD SUCCESSFUL
Total time: 26 seconds
------------------------------------------------------------
---------
To unsubscribe, e-mail: wsrf-user-unsubscribe ws.apache.org
For additional commands, e-mail: wsrf-user-help ws.apache.org |