Thanks a lot. I will try it.

-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 13, 2006 12:33 AM
To: [email protected]
Subject: Re: [AXIS2] Issue with WSDL generated by AXIS2

Hi Charak;

>Hi ,
>Please look the following WSDL bindings.
>Why does AXIS places axis2.war in SOAP end points,  where as "rest" binding is 
>fine. This is happening if you deploy aar files on WebSphere.
>
>Can I enforce AXIS2 to not generate WSDL's and read only the WSDL which I 
>supply.
>
>  
>
Yes , you can do that ;
 - First put your wsdl into meta-inf directory
 - Then add the following attribute into services.xml
    <parameter name="useOriginalwsdl">true</parameter>

><wsdl:port name="TestServiceSOAP11port_http" 
>binding="ns:TestServiceSOAP11Binding">
><soap:address 
>location="http://208.49.76.165:9080/axis2.war/services/TestService"/>
></wsdl:port>
>−
>       <wsdl:port name="TestServiceSOAP12port_http" 
> binding="ns:TestServiceSOAP12Binding">
><soap12:address 
>location="http://208.49.76.165:9080/axis2.war/services/TestService"/>
></wsdl:port>
>−
>       <wsdl:port name="TestServiceHttpport0" 
> binding="ns:TestServiceHttpBinding">
><http:address location="http://208.49.76.165:9080/rest/TestService"/>
></wsdl:port>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to