Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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] Mon, 30 November 2009 02:25
Stupid TSS is currently offline Stupid TSSFriend
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"/>

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:"/ >

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 Jun 24 11:29:26 GMT 2018

Powered by FUDForum. Page generated in 0.01924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top