You are trying to compile a WSDL that contains only message definitions. You need to compile the WSDL that contains the <service> element.

Anne

On 3/23/06, Popuri, Monica <[EMAIL PROTECTED]> wrote:
 
Thanks for writing, attached is the wsdl and used xsd.
Regards

From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 23, 2006 8:05 PM
To: [email protected]
Subject: Re: WSDL2WS for converting wsdl to c++ code

Can you post the WSDL?

On 3/23/06, Popuri, Monica <[EMAIL PROTECTED]> wrote:
Hi All,

I have a wsdl that uses my generated xsd and not standard xsd, when I
try to convert the code to c++ using wsdl2ws utility in axis c++, I get
following error:

C:\monica\axis\axis-c-1.6b-Win32-trace-src\lib\axis >java
org.apache.axis.wsdl.w
sdl2ws.WSDL2Ws  -lc++ -o.\outputc -sserver
"C:\monica\spec_parlay\parlayx_common
_faults_2_0.wsdl"
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
org.apache.axis.wsdl.wsdl2ws.WrapperFault: the service does not exists
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceEntry(Unknown
Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.perprocess(Unknown
Source)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown
Source)

        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main (Unknown Source)

Code generation failed. Please see errors above.

Please assist

Regards,
Monica



Reply via email to