wsdl:service and port name changed by eclipse [message #500878] |
Mon, 30 November 2009 02:25 |
Stupid TSS Messages: 2 Registered: October 2009 |
Junior Member |
|
|
I am a newbie to Eclipse (and web services also).
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 control Eclipse from changing the wsdl or is there any way for me to change te wsdl back in the desired format?
Thanks everyone.
|
|
|
Powered by
FUDForum. Page generated in 0.02725 seconds