axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijat Thakur" <>
Subject RE: wsdl
Date Tue, 29 Jul 2003 19:17:11 GMT
We are currently using a Microsoft Soap client written in Javascript. Somehow it doesn't like
the names space in the WSDL file. That's why we want to remove the namespace.
Could you let us know in which file you change the xmlns=""
and how do we remove the wsdl from the generated WSDL file? Is it a post process that we have
to do after the WSDL file is generated?

-----Original Message-----
From: Anne Thomas Manes []
Sent: Tuesday, July 29, 2003 6:07 AM
Subject: Re: wsdl 

Can you explain why this matters to you?
Axis uses namespace qualifiers for all elements in the WSDL file. This is a good practice.
If you want to remove the wsdl: namespace qualifier, you'll need to do it manually. To do
so, you must add a default namespace definition:
and you must remove the wsdl: qualifiers from the wsdl elements.

----- Original Message ----- 
From: Abhijat  <> Thakur 
Sent: Monday, July 28, 2003 7:00 PM
Subject: wsdl 

On publishing services i get a wsdl file of the type shown below with "wsdl" word is appened
at the start of the each node. The deployment descriptor is something like this.
<deployment name="test" xmlns="" 
  <service name="TestService" provider="java:RPC">
    <parameter name="className" value=""/>
    <parameter name="allowedMethods" value="getTestMessage" />
Is there a way that when the TestService is published no "wsdl" is appended at the start 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="" xmlns:apachesoap=""
xmlns:impl="http://localhost:8080/axis/services/TestService" xmlns:intf="http://localhost:8080/axis/services/TestService"
xmlns:soapenc="" xmlns:wsdl=""
xmlns:wsdlsoap="" xmlns:xsd="">
  <wsdl:types /> 
  <wsdl:message name="getTestMessageRequest" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:message name="getTestMessageResponse">
  <wsdl:part name="getTestMessageReturn" type="xsd:string" /> 
 <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" />

 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:binding name="TestServiceSoapBinding"
  <wsdlsoap:binding style="rpc" transport="" />

 <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="" namespace="http://localhost:8080/axis/services/TestService"
use="encoded" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:output name="getTestMessageResponse">
  <wsdlsoap:body encodingStyle="" namespace="http://localhost:8080/axis/services/TestService"
use="encoded" /> 
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:service name="TestingService">
 <http://localhost:8080/axis/services/TestService?wsdl#> - <wsdl:port binding="impl:TestServiceSoapBinding"
  <wsdlsoap:address location="http://localhost:8080/axis/services/TestService" /> 


View raw message