cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming XI webservice in WDJ

former_member188556
Active Contributor
0 Kudos

Hello,

I am trying to invoke an XI webservice through Web Dynpro JAVA. I am provided with an WSDL, URL and uid/pwd from the XI team.

URL format : http://company.com:59600/XISOAPAdapter/MessageServlet?channel=:DS7CLNT110:Sender_SOAP_XXXX

Steps i followed,

1, Created a Adpative Web Service model with the provided WSDL

2, All the model classes are created successfully

3, Invoked the template for creating the model execution method.

4, Created the EXECUTION and METADATA DEST in VA

5, Provided the URL in the VA

While executing the application I am getting

java.io.IOException: com.sap.engine.lib.xml.util.NestedException: Element passed is not WSDLD Document !

But if i am creating Web Service model(Deprecated) it sort of working.

But i dont think, i can go ahead with this, because I have Dev, QA and Prod environment. I dont know how this can be migrated

Please let me know your thoughts

Regards

Bobu

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member188556
Active Contributor
0 Kudos

Put the wsdl file in an http location

Qualiture
Active Contributor
0 Kudos

Hi Bopu,

Are you sure the WSDL has been created using the SOAP Adapter Channel URL you provided? If not, then that might cause some trouble

However, I think the real problem is the WSDL is not stored in inspection.wsil. Maybe your issue is solved by using the UDDI registry? See this blog for more details /people/sap.user72/blog/2005/11/17/xi-how-to-publish-wsdl-generated-from-xi-to-uddi

Hope it helps!

Robin

Former Member
0 Kudos

Hi Bobu,

Do you have to use adaptive web service model? If not you can use soapUI and Axis to generate web service classes and consumers classes.