|
Replies:
1
-
Last Post:
May 30, 2007 4:47 PM
by: vivekp
|
|
|
|
|
|
|
Namespaces included in XML Response
Posted:
May 30, 2007 11:01 AM
|
|
|
How does JAXWS determine what namespaces declarations to include in the xml response of a web service call? My WSDL imports a couple of additional namespaces used by the request, however, the data types that make up the response are from a single namespace. The XML response includes the declarations for the unused namespaces. Does the response simply include all namespaces that are declared within the wsdl?
|
|
|
|
|
|
|
Re: Namespaces included in XML Response
Posted:
May 30, 2007 4:47 PM
in response to: ellingdr
|
 |
Helpful |
|
|
It depends on whether its rpc/lit or doc/lit binding. Incase of doc/lit, the request or response will be based on the corresponding global element declaration referenced from the corresponding wsdl:part. In case of rpc/lit, the response will be based on the wsdl:operation@name+Response as local name and the targetNamespace oderived from the soapbind:body@namespace value in the binding section.
-vivek.
|
|
|
|
|