axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samotesov, Vladislav" <vladislav.samote...@terayon.com>
Subject different tags in wsdl
Date Thu, 11 Jul 2002 16:41:26 GMT

Hello.
I'd like to ask next question.
I've defined server method in the AXIS service:
	  public int addCableModem(String macAddress, DemographicalInfo
dInfo, TechnicalInfo tInfo)
		{
			..............
			..............
		}
Then I've used java2wsdl to build WSDL file. In the built WSDL file I see
next tag:
   <wsdl:message name="addCableModemRequest">
      <wsdl:part name="macAddress" type="SOAP-ENC:string"/>
      <wsdl:part name="dInfo" type="intf:DemographicalInfo"/>
      <wsdl:part name="tInfo" type="intf:TechnicalInfo"/>
   </wsdl:message>

After service deployment I've got WSDL file by web-browser:
	http://localhost:8080/axis/services/SmsApi?wsdl
<http://localhost:8080/axis/services/SmsApi?wsdl> 
and my WSDL looks like different:
  <wsdl:message name="addCableModemRequest">
    <wsdl:part name="macAddress" type="xsd:string"/>
    <wsdl:part name="dInfo" type="tns1:DemographicalInfo"/>
    <wsdl:part name="tInfo" type="tns1:TechnicalInfo"/>
  </wsdl:message>

Could you explain me what difference. Why WSDL before deployment and after
deployment is not the same?

Many thanks,
Vlad Samotesov
Software Engineer
Terayon Communication Systems
Tel-Aviv, Israel


Mime
View raw message