You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Abhijat Thakur <at...@bdnacorp.com> on 2003/07/29 00:03:40 UTC

wsdl file

We are using java script to bind to the SOAP services and for that we use Microsoft implementation on client to bind to the services. When the services are published the wsdl file obtained has wsdl appened at the begining of each node. Is there a way to publish the services without the wsdl appened in front of each node. 
 
  <?xml version="1.0" encoding="UTF-8" ?> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:definitions targetNamespace="http://localhost:8080/axis/services/TestService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/TestService" xmlns:intf="http://localhost:8080/axis/services/TestService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:types /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:message name="getTestMessageWithParmRequest">
  <wsdl:part name="in0" type="xsd:string" /> 
  </wsdl:message>
  <wsdl:message name="getTestMessageRequest" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:message name="getTestMessageWithParmResponse">
  <wsdl:part name="getTestMessageWithParmReturn" type="xsd:string" /> 
  </wsdl:message>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:message name="getTestMessageResponse">
  <wsdl:part name="getTestMessageReturn" type="xsd:string" /> 
  </wsdl:message>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:portType name="Testing">
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:operation name="getTestMessage">
  <wsdl:input message="impl:getTestMessageRequest" name="getTestMessageRequest" /> 
  <wsdl:output message="impl:getTestMessageResponse" name="getTestMessageResponse" /> 
  </wsdl:operation>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:operation name="getTestMessageWithParm" parameterOrder="in0">
  <wsdl:input message="impl:getTestMessageWithParmRequest" name="getTestMessageWithParmRequest" /> 
  <wsdl:output message="impl:getTestMessageWithParmResponse" name="getTestMessageWithParmResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:binding name="TestServiceSoapBinding" type="impl:Testing">
  <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:operation name="getTestMessage">
  <wsdlsoap:operation soapAction="" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:input name="getTestMessageRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/TestService" use="encoded" /> 
  </wsdl:input>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:output name="getTestMessageResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/TestService" use="encoded" /> 
  </wsdl:output>
  </wsdl:operation>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:operation name="getTestMessageWithParm">
  <wsdlsoap:operation soapAction="" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:input name="getTestMessageWithParmRequest">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/TestService" use="encoded" /> 
  </wsdl:input>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:output name="getTestMessageWithParmResponse">
  <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/TestService" use="encoded" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:service name="TestingService">
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:port binding="impl:TestServiceSoapBinding" name="TestService">
  <wsdlsoap:address location="http://localhost:8080/axis/services/TestService" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>
 
thanks
 
abhijat