Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » wsdl:service and port name changed by eclipse("Unexpected" changes are introduced to the wsdl by Eclipse)
wsdl:service and port name changed by eclipse [message #500878] Sun, 29 November 2009 21:25
Stupid TSS is currently offline 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.
Previous Topic:Is there a Pretty Printer for JSDT DOM?
Next Topic:Null Pointer Exception occurs when Web Service Wizard is launched with a resource from Java Project
Goto Forum:
  


Current Time: Sun Aug 31 00:26:55 EDT 2014

Powered by FUDForum. Page generated in 0.01448 seconds