- This topic has 6 replies, 2 voices, and was last updated 13 years, 2 months ago by support-tony.
-
AuthorPosts
-
Douglas M HurstParticipantI created a Web Service in Eclipse using Axis2 version 1.5.4. I deployed it to Tomcat webapps and ran Tomcat, so it’s running on 8080.
I went into MyEclipse and ran the SOAP Web Services Explorer. Using the WSDL supplied by Axis2, the Exploer sees the WS I developed in Eclipse with Axis2 and I can test it successfully.
When I try to create a WS Client in MyEclipse using the same WSDL, with the WS running on 8080, it churns for a long period of time, then comes back and tells me the WS is not SOAP 1.2 compliant.
What’s that all about? There’s no reason why it should do that if the Explorer works perfectly?
support-tonyKeymasterDouglas,
Did you test the SOAP 1.2 interface from the web services explorer, or SOAP 1.1? Your web service created with eclipse may not have SOAP 1.2 compliance. Can you check?
If you still have problems could you attach a screen shot of the error you get with MyEclipse, to help us get a visual. Also clear the .log file, recreate the problem and attach the log file, along with the screenshot and the WSDL file that you’re using to create the client.
Can I ask why you’re creating the service in eclipse and the client in MyEclipse? You can use MyEclipse to create both the service and the client.
Douglas M HurstParticipantI’m attaching the WSDL. If I can, I’ll also attach the error message as a .jpg screen capture. I believe I successfully added them both.
Attachments:
You must be logged in to view attached files.
Douglas M HurstParticipantI’m trying to attach the WSDL also. I’m renaming it to .txt so it can be attached.
Attachments:
You must be logged in to view attached files.
Douglas M HurstParticipantto answer your other question, At work, our WSs are developed using Axis2 and are deployed on WebSphere App Server 6.1.0.31.
Out clients should be able to use any valid SOAP means to produce a WS client provided the WSDL is valid. I assure you this WSDL is a valid 1.2 SOAP WSDL.
Douglas M HurstParticipantI just discovered that if I continue on with the generation, even with the errors, and ignore the warning about …
SOAP port “FPProcessHttpSoap12Endpoint”: uses a non-standare SOAP 1.2 binding.
… that I can create a Class that uses the output to successfully connect to the Axis2 based Web Service.
So, I guess you can close this issue, but there’s no reason to get those errors on a valid WSDL… just because it wasn’t produced from within MyEclipse.
support-tonyKeymasterDouglas,
Thanks for the posts and attachments. I should have mentioned that the client wizard allows you to ignore some potential problems. Some tools and frameworks tend to be more tolerant of standards issues than others, but there could, of course, be problems with the validation.
I quickly generated an Axis2 service on the eclipse JEE platform and the MyEclipse web services explorer reported that SOAP 1.2 was not supported, although the 1.1 interface worked fine. I’ll check this out a bit more, with the WSDL you supplied and will post if I find anything.
-
AuthorPosts