cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to Webservice

Former Member
0 Kudos

HI

I am doing IDOC to Webservice Synchronous scenario using the BPM.. when i execute the scenario

i am getting error : SOAP: call failed: java.net.UnknownHostException:

In the receiver SOAP Communication Channel i dont have the SOAP Action.. is this mandatory

to fill the SOAP Action in the Receiver SOAP Communication Channel...

S V

Accepted Solutions (0)

Answers (3)

Answers (3)

GabrielSagaya
Active Contributor
0 Kudos

I also faced the same problem

Try to use HTTP AXIS in Soap Adapter.

Transport protocol=HTTP(Axis)

Message protocol=Axis

Integration Engine=Integration Server

URL=http://<urladdress>:<port>/<urlservice>

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b092777b-ee47-2a10-17b3-c5f59380...

Former Member
0 Kudos

Hi

When i am trying to open the SOAP URL: http://www.XXXX.net/CCCCCB2B/XXXwebservices/Distance

in the Internet Explorer..

Its giving me the error: Invalid SOAP request.

So its the Error in the URL...

SV

Former Member
0 Kudos

>>So its the Error in the URL...

Yeah,its the issue with URL itself:)

Thanx

Aamir

Former Member
0 Kudos

HI

So i have to ask them to change the URL Parameters..

How to solve that issue...

S V

GabrielSagaya
Active Contributor
0 Kudos

Hi check with Ricardo's reply

Former Member
0 Kudos

Hi

But when i tested the WSDL file from the ALTOVA XML SPY Its working fine...

SV

GabrielSagaya
Active Contributor
0 Kudos

Can you provide your URL address in WSDL file

if you open WSDL File you can have

wsdlsoap:address location="URL Address"

Check with that URL address

Former Member
0 Kudos

Hi

in the wsdl file i have the location:

http://www.ep.net/HealthB2B/webservices/Demo

S V

former_member205101
Participant
0 Kudos

Hi SV,

In ur altova XML spy ..open the WSDL, find out what is your

<soap:address location="

http://sapapp02.xxx.xxx.xxx.com:8002/XISOAPAdapter/MessageServlet?channel=:

xxx:CC_xxxy (this is just example soap address in WSDL)

u copy the SOAP address location from ur WSDL

( http://sapapp02....xxxy)

and paste in SOAP Comm. Channel connection parameters.

Check it again.

I think the SOAP URL which u use in Altova xml spy and SOAP CC is different.

Plz try and let me know the response.

Thanks

Prabaharan

Edited by: Prabaharan on Aug 13, 2008 12:39 AM

Edited by: Prabaharan on Aug 13, 2008 12:50 AM

Former Member
0 Kudos

Hi

The issue has been resolve bu using the Webservice HOst name and Port ...

Really Appreciate for the all the quick asnwers..

S V

Former Member
0 Kudos

Hi

But i am using the BPM for the IDOC to Webservice Synchronous Scenarion...

When i trigger the IDOC from SAP it stuck in the Queue ...when i checked in the SXMB_MONI and when i clicked in PE it taking me to the INbound Queue ..

When i opened the Queue its showing the SYSFAIL ..and when i double click on that its shoes me Permanent ERRor in BPE Inbound Processing..

In BPM i used the Receive and Send Synchronous and Send Asynch steps ..

Did i miss Any thing

SV

Shabarish_Nair
Active Contributor
0 Kudos

refer this to help you fill the SOAP adapter parameters

Former Member
0 Kudos

Hi

I am getting Error..

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: www.XXXXX.net: java.net.UnknownHostException: www.XXXXX.net

SOAP: call failed: java.net.UnknownHostException: www.xxxxxxxx.net

Any idea ..

SV

Edited by: S V on Aug 12, 2008 8:20 PM

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check the URL you mentioned is valid one

Logon to Integration Directory -> Tools -> Web services.

URL of the web service

http://<host>:<j2eeport>/SOAPAdapter/MessageServlet/Channel?=:Business System:Communication Channel

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi

I am using the Receiver SOAP Communication Channel....

In the WSDL file the

wsdlsoap:address location="http://www.XXXXX.net/XXXXXXB2B/XXXXwebservices/Demo

Is this wrong location..

Edited by: S V on Aug 12, 2008 8:26 PM

Former Member
0 Kudos

HI

Still its giving me the same error..

SV

former_member205101
Participant
0 Kudos

Hi,

Can i know which is the sender on your scenario? (SAP or Web service)

Thanks

Prabaharan

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check the SOAP url in the SOAP adapter is right ?

Check whether Receiver side server is up ?

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi

SAP is Sender and Webservice is Receiver

Former Member
0 Kudos

Hey

Can you please try to open the site in Internet explorer www.xxxxxxxx.net

Secondly unknownHostException normally occurs when there is some issue in connecting to the receiver Webservice,may be some internet issue(firewalls problems),authorization issues etc.

There is a tool "TCP gateway" on SDN, download that and attach to your receiver SOAP adapter and see what log it gives you.

Thanx

Aamir

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Did you Checked Configured User authentication and Provided the right User ID & password

Cheers

Agasthrui Doss

former_member205101
Participant
0 Kudos

Hi SV,

I guess as others said ..There is issue in ur Target URL connection parameters.

Just copy ur URL which u mentioned in the SOAP receiver CC, paste in browser, check whether it is Valid URL path or not?

Make sure that the username and password in Connection parameters are correct (SOAP receiver CC)

Thanks

Prabaharan

GabrielSagaya
Active Contributor
0 Kudos

Hi

are you able to ping the hostname

cmd> telnet urladdress port

check with the connection....

agasthuri_doss
Active Contributor
0 Kudos

Hi,

> is this mandatory to fill the SOAP Action in the Receiver SOAP Communication Channel...

YES

Cheers

Agasthuri Doss

Former Member
0 Kudos

Hi

When i tried with Altova XML SPY its working..did i miss anything in configuration or in MApping..

I n the webservice i have only one method... So in the WSDL file they provide do have the SOAP Action...its only my assumption...

correct me if i am wrong

S V

Edited by: S V on Aug 12, 2008 8:06 PM