| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Axis2/C 1.5 Solaris 10 Sparc 64 bits. I am a newbie to Axis2, and so my questions may appear trivial. Please bear with me. I am generating the client only which will consume a remotely hosted webservice. I have been given a WSDL and an XSD of the webservice. The WSDL contains many references in the XSD. I ran the WSDL2C tool: $ sh WSDL2C.sh -uri SSM-SOAPWS.wsdl -d none When I run the WSDL2C tool, I can see that the stub (header and C) is generated. My question is, how does this work when it cannot find the undefined references? I mean, I did not pass the xsd to the command line - so, I had expected this to fail with undefined/unresolved references in the WSDL. Can someone please explain, or am I wrong? Thanks. DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. |
|
#2
| |||
| |||
| Hi, I think in the wsdl file there is a location for the XSD file, so you dont have to add this to the command. But i'm not be sure..... I generated stubs too and i didnt add the xsd file to the command. It works fine I'm glad there is somebody who works with axis2c so you can changeexperience .... -- View this message in context: http://www.nabble.com/Question%3A-WS...p19182426.html Sent from the Axis - C++ - User mailing list archive at Nabble.com. |
|
#3
| |||
| |||
| On Wed, Aug 27, 2008 at 8:09 PM, Martina08 <martin.willitzkat-Mmb7MZpHnFY@public.gmane.org> wrote: Yes, have a look at your WSDL file, you'll see XSD file is included there. -Rajika > > Hi, > I think in the wsdl file there is a location for the XSD file, so you dont > have to add this to the command. > But i'm not be sure..... > I generated stubs too and i didnt add the xsd file to the command. It works > fine I'm glad there is somebody who works with axis2c so you can change> experience .... > -- > View this message in context: > http://www.nabble.com/Question%3A-WS...p19182426.html > Sent from the Axis - C++ - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe-28n8OjmUYWfN...blic.gmane.org > For additional commands, e-mail: axis-c-user-help-28n8OjmUYWfNLxjTenL...blic.gmane.org > > -- http://wso2.org/ http://llvm.org/ http://osdev.org/ |
|
#4
| |||
| |||
| Hi, Yea you dont need to aware about the xsd files as far as they are in an accessible locations. Anyway if you use '-d none' codegen will ignore the xsds. So to generate a xsd aware code you may use the -d adb with -u option. sh WSDL2C.sh -uri SSM-SOAPWS.wsdl -d adb -u Thanks Dimuthu On Wed, Aug 27, 2008 at 7:39 AM, Martina08 <martin.willitzkat-Mmb7MZpHnFY@public.gmane.org> wrote: > > Hi, > I think in the wsdl file there is a location for the XSD file, so you dont > have to add this to the command. > But i'm not be sure..... > I generated stubs too and i didnt add the xsd file to the command. It works > fine I'm glad there is somebody who works with axis2c so you can change> experience .... > -- > View this message in context: > http://www.nabble.com/Question%3A-WS...p19182426.html > Sent from the Axis - C++ - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe-28n8OjmUYWfN...blic.gmane.org > For additional commands, e-mail: axis-c-user-help-28n8OjmUYWfNLxjTenL...blic.gmane.org > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.