cancel
Showing results for 
Search instead for 
Did you mean: 

Consume XI web service in web dynpro application

former_member199223
Participant
0 Kudos

HI All,

I have scenario access web service in web dynpro java, which is created by XI ..Now I have WSDL file. Using that WSDL file I have imported web service model(Adaptive web service method) in my web dynpro java.

By following the PDF document = https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f2...

I have created a Model as mentioned in the PDF.

Once model is created I have done the mapping from model to component controller, after that I need to execute the Web service model .For the execution I need to write a code in component controller :-

model class name = XIModel

XIModel obj = new XIModel();

Once I am done with the above coding , and when I try to run the application I get the following error :-

com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 200 while accessing URL:http://atind037:50000/WSDL/GetPOPDF.wsdl. Response Message: OK. Content Type: content/unknown

Could you please help me with this at the earliest , as it is a urgent issue.

Regards,

Boopathi M.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member751941
Active Contributor
0 Kudos

Hi boopathi,

It seems your wsdl url is not correct. Put the http://atind037:50000/WSDL/GetPOPDF.wsdl

in your browser and check whether you are getting the WSDLDefinitions in xml format or not ?

In wsdl url put ? instead of .

URL : http://atind037:50000/WSDL/GetPOPDF?wsdl

Regards,

Mithu

former_member199223
Participant
0 Kudos

HI Mithu,

I have put the WSDL in to server and also i can able to see the WSDLDefinitions in xml format in the browser using this URL

http://localhost:50000/WSDL/GetPOPDF.wsdl

Note: I need to use only Adaptive web service model with destinations , in deprecated method working fine

Thanks & Regards,

Boopath M

nikhil_bose
Active Contributor
0 Kudos

code: 200

The request has succeeded. The information returned with the response is dependent on the method used in the request GET an entity corresponding to the requested resource is sent in the response; HEAD the entity-header fields corresponding to the requested resource are sent in the response without any message-body.

POST an entity describing or containing the result of the action; TRACE an entity containing the request message as received by the end server.

Possible Tips: Have a look into SAP Note: 871959

nikhiL

former_member199223
Participant
0 Kudos

Hi Nikhil Bos,

How do I TRACE an entity containing the request message as received by the end server ?

Any idea for trace?

Regards,

Boopathi M