You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Ralf Poppen <po...@sf-datentechnik.de> on 2003/10/24 12:38:11 UTC

namespace in WSDL- File

Hello,
 
after this text is the header of a wsdl- file. I want to know under wich
circumstances the namespace ( here tns1 and tns2 ) can change. Sometimes
the namespaces tns1 and tns2 are switched in our wsdl-file. Who can
help?
 
regards,
 
Ralf
 
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="
http://localhost:8080/axis/services/TestInterface
<http://localhost:8080/axis/services/TestInterface> " xmlns="
http://schemas.xmlsoap.org/wsdl/ <http://schemas.xmlsoap.org/wsdl/> "
xmlns:apachesoap=" http://xml.apache.org/xml-soap
<http://xml.apache.org/xml-soap> " xmlns:impl="
http://localhost:8080/axis/services/TestInterface
<http://localhost:8080/axis/services/TestInterface> " xmlns:intf="
http://localhost:8080/axis/services/TestInterface
<http://localhost:8080/axis/services/TestInterface> " xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> " xmlns:tns1="
http://localhost.samples.userguide.sf_error
<http://localhost.samples.userguide.sf_error> " xmlns:tns2="
http://localhost.samples.userguide.test
<http://localhost.samples.userguide.test> " xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/ <http://schemas.xmlsoap.org/wsdl/> "
xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/
<http://schemas.xmlsoap.org/wsdl/soap/> " xmlns:xsd="
<http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="
http://localhost.samples.userguide.sf_error
<http://localhost.samples.userguide.sf_error> " xmlns="
<http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema"><import namespace="
<http://schemas.xmlsoap.org/soap/encoding/>
http://schemas.xmlsoap.org/soap/encoding/"/><complexType
name="sf_Error"><sequence><element name="err_cat" nillable="true"
type="xsd:string"/><element name="err_cause" nillable="true"
type="xsd:string"/><element name="err_desc" nillable="true"
type="xsd:string"/><element name="sf_errorId"
type="xsd:long"/></sequence></complexType></schema><schema
targetNamespace=" http://localhost.samples.userguide.test
<http://localhost.samples.userguide.test> " xmlns="
<http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema"><import namespace="
<http://schemas.xmlsoap.org/soap/encoding/>
http://schemas.xmlsoap.org/soap/encoding/"/><complexType
name="Test_Info"><sequence><element name="adr_id"
type="xsd:int"/><element name="name1" nillable="true"
type="xsd:string"/><element name="name2" nillable="true"
type="xsd:string"/><element name="street" nillable="true"
type="xsd:string"/><element name="streetNumber" nillable="true"
type="xsd:string"/></sequence></complexType><complexType
name="ResInfo"><sequence><element name="errObj" nillable="true"
type="tns1:sf_Error"/><element name="srvTime" nillable="true"
type="xsd:dateTime"/></sequence></complexType><complexType
name="ResArrTest_Info"><complexContent><extension
base="tns2:ResInfo"><sequence><element name="arrTest_Info"
nillable="true"
type="impl:ArrayOf_tns2_Test_Info"/></sequence></extension></complexCont
ent></complexType><complexType name="ReqInput"><sequence><element
name="SF_Timestamp" nillable="true" type="xsd:dateTime"/><element
name="pwd" nillable="true" type="xsd:string"/><element name="username"
nillable="true"
type="xsd:string"/></sequence></complexType></schema><schema
targetNamespace=" http://localhost:8080/axis/services/TestInterface
<http://localhost:8080/axis/services/TestInterface> " xmlns="
<http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema"><import namespace="
<http://schemas.xmlsoap.org/soap/encoding/>
http://schemas.xmlsoap.org/soap/encoding/"/><complexType
name="ArrayOf_tns2_Test_Info"><complexContent><restriction
base="soapenc:Array"><attribute ref="soapenc:arrayType"
wsdl:arrayType="tns2:Test_Info[]"/></restriction></complexContent></comp
lexType></schema></wsdl:types>
 
Regards,
 
Ralf