I am a newbie to web services.

I import an wsdl into Eclipse with the "wsdl:service" section copied at
below:

<wsdl:service name="SPOC">
<wsdl:port name="SPOCPort" binding="SPOC:SPOCSOAPBinding">
<soap:address location="http:spoc-server/SPOC"/>
</wsdl:port>
</wsdl:service>

I then generate the web services against this wsdl in Eclipse (the "emitter"
is the default built-in Axis 1.4). After adding some business logic, the web
services is deployed to Jboss and everything is working fine, except that
the wsdl exposed has been changed.

<wsdl:service name="SPOC">
<wsdl:port binding="impl:SPOCPortSoapBinding" name="SPOCPort">
<soap:address location="https:192.168.95.134:8443/SPOC/services/SPOCPort"/ >
</wsdl:port>
</wsdl:service>

Eclipse has inrtroduced two unexpected changes:
(1) changing the port binding from "SPOC:SPOCSOAPBinding" to
"impl:SPOCPortSoapBinding";
(2) changing the latter portion of soap address location from " ... /SPOC"
to " ... /SPOC/services/SPOCPort".

Since, in this project, the format of wsdl is standardised and I should
strictly follow the standards, is there any way to change the wsdl back in
the desired format?

Thanks everyone. 
-- 
View this message in context: 
http://old.nabble.com/wsdl%3Aservice-and-port-name-changed-by-Axis---eclipse-tp26568618p26568618.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to