This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Namespace in body element how to define in WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Namespace in body element how to define in WSDL" Watch "Namespace in body element how to define in WSDL" New topic
Author

Namespace in body element how to define in WSDL

Martin Russell Thorpe
Greenhorn

Joined: Jun 11, 2009
Posts: 3
Hello. I am trying to write a WSDL file that will produce a request like this:



The part I am having a problem with is the stbRequest bit. How can I specify the xmlns and type definitions in my WSDL?

I think I need to do this in the schema definition with a complexType but I am not sure what elements/attributes I need to provide to get the xmlns and type (namespace and type?) to output in the request.

Any hints, tips or pointers would be greatly appreciated.
Thanks for reading.
Martin Russell Thorpe
Greenhorn

Joined: Jun 11, 2009
Posts: 3
Hello.

I am thinking that something like this might do the job:




But now I have a problem defining stb:HttpRequest for the type. I want the attribute values to be pre-defined really, in teh WSDL. Is that possible?

Thanks for reading
 
 
subject: Namespace in body element how to define in WSDL
 
Similar Threads
Support string array in wsdl
Axis2 BASIC AUTHENTICATION
Web Service - Complex Types - Array Inside Array.
Invoke .NET Web Service using Java/Axis passing SoapHeader
sendind SOAP request