cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume non-sap webservice in webdynpro

Former Member
0 Kudos

Hi Experts,

In a requirement, I have to setup a P2P connection with an application,

The application is on a unix server, which has been exposed as a webservice.

Please tell me the process/any document to use a non sap web service in SAP(Webdynpro/ EBJ).

Thanks in advance.

Deepak

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
Former Member
0 Kudos

Thanks for the reply,

but the web service, I am using is not on UDDI,

It is on some non SAP application server in the same network.

I have got the WSDL file,

I created a model in web dynpro with a logical destination with it, which I created in Visual Admin under DynamicWSProxies

And then deployed the application.

But I am getting the following error:

com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 301 while accessing URL: http://<host_nonSAP>:<port>/inspection.wsil. Response Message: Moved Permanently. Content Type: text/plain. Body Content:

Please help........

Deepak

SB9
Active Participant
0 Kudos

Hi Deepak,

i would suggest that you first create a standalone proxy my importing the WSDL of webservice. Then you can write a main program with public static void main(String[] args) to test the web service. After that go ahead and create a deployable proxy project and deploy it on the sap j2ee engine.

hope this way you will be able to debug the problem.

Thanks,

soujanya

Former Member
0 Kudos

Hi soujanya,

Thanks for the reply,

Can you please send me links to some documents for creating

proxy projects (standalone & deployable).

Regards

Deepak

SB9
Active Participant
0 Kudos

Hi Deepak,

Find the link below -

http://help.sap.com/saphelp_nw04/helpdata/en/77/1484b9ecb98c41af4a01131d8d46d3/frameset.htm

Award points if helpful.

Thanks,

Soujanya

Former Member
0 Kudos

problem is solved!!!!

what was the problem:

1) The WSDL URL which I was giving in Visual Administrator for setting the logical destination under DynamicWSProxies was incorrect.

2) Earlier I created Webservice model using the WSDL file provided by the external system, now I created model using the WSDL URL which I gave above.

Thanks to all for helping hands!!!!!!

Points have been rewarded

Deepak

Answers (2)

Answers (2)

Former Member
0 Kudos

hi deepak

sorry for wrong url

This is correct url plz refer this

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/696f9c90-0201-0010-0abd-86c6c7454052]

Rewards is useful

Thanx

Trupti Zanwar

Former Member
0 Kudos

hi

plz refer this site its very useful and step by step execution of web services.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/42af9f90-0201-0010-6099-ba67e542...

xxxxxxxxxxxxxxxx

Thanx

Trupti Zanwar

Edited by: Armin Reichert on Apr 26, 2008 6:42 PM

Former Member
0 Kudos

Hi Trupti,

I think you have posted wrong URL,

please chk it talks about Dialog Boxes in web dynpro.

Deepak