cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with XI web service,

Former Member
0 Kudos

Create webDynpro DC try to connect web service in XI side, I have created Adaptive web service, set up username and password in Visual Administrator, point url to a uddi wsdl, but when i try to run the application , I got error says "InvocationException occurred invoking method" when i try to new the model class.

the other thing is that the some wsdl files with location field like "http://server:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_ESALES_PORTAL&"

and other wsdl files with location field like ""http://server:port/XISOAPAdapter/MessageServlet?Version=3.0&Channel=:"

which wsdl format is the correct way in order to let webDynpro application to call it. Please help me if you have an idea, thanks a lot!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hao fan,

If you are using SOAP as your sender adapter then your second one is good. Also please check this document on how to post it to XI using SOAP:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

The first one we will use when you post directly to integration engine instead of uisng SOAP adapter. Check this weblog by stefan on this:

/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine

So first you make sure how you are sending data to XI. Then create a WSDL according to that and then test your webservice.

---Satish

Former Member
0 Kudos

We found the problem is that the j2ee engine replaces the host name and port number inside wsdl file with the one we configure in Visual Administrator for Web service security ==> web service client where we setup username and password for Adaptive Web service.

location inside wsdl file is like this : <XI server:8000>, after run webdynpro application, j2ee engine replace this with the one we configure for Adaptive Web service in Visual administrator <Portal server:50000>, can any one know this issue. thanks a lot!

Former Member
0 Kudos

Hao,

Just open the WSDL in the notepad and change it manually and give it a try.

---Satish

Former Member
0 Kudos

Satish ,

Thanks for your suggestion, but I am not good in XI, all I want to do is that use the web service , which publish by XI

Hao

prateek
Active Contributor
0 Kudos

Appropriate to ur requirements

/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i

/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii

/people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii

Regards,

Prateek