cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP REQUEST

Former Member
0 Kudos

Hi All,

I am doinfg a RFC to WEBSERVICE scenario..

My problem is that the sop request which is reaching to the server is :-

<ns1:StartNotification xmlns:ns1="http://xml.avaya.com/diamond/schema/2007/07/ExceptionConferenceService">

<ns1:sessionId>AAAAAJcpxlM=yD4HGg==-_2_2</ns1:sessionId>

- <ns1:originator>

<ns2:requesterUniqueId xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">sap</ns2:requesterUniqueId>

<ns2:emailResponseMode xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">none</ns2:emailResponseMode>

</ns1:originator>

- <ns1:recipientList authenticate="false" cancelPreviousPerson="false">

- <ns2:recipient xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common" type="external">

<ns2:recipientName>jsmith</ns2:recipientName>

<ns2:role>moderator</ns2:role>

<ns2:preferredLang>en_US</ns2:preferredLang>

<ns2:displayName>jsmith</ns2:displayName>

- <ns2:contactList>

- <ns2:contact>

- <ns2:address>

- <ns2:phoneNumber>

<ns2:value>00919911202618</ns2:value>

</ns2:phoneNumber>

</ns2:address>

<ns2:contactType>voice</ns2:contactType>

</ns2:contact>

</ns2:contactList>

</ns2:recipient>

</ns1:recipientList>

- <ns1:mediaContentList>

- <ns2:mediaContent xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common" locale="en_US">

<ns2:subject>Purchase Order for Range Rovers</ns2:subject>

<ns2:message>Avaya is requesting your presence in this conference</ns2:message>

</ns2:mediaContent>

</ns1:mediaContentList>

- <ns1:terminationConditions>

- <ns2:expirationTime xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns2:duration>PT2M</ns2:duration>

</ns2:expirationTime>

</ns1:terminationConditions>

- <ns1:requestAttributes>

<ns2:priority xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">LOW</ns2:priority>

<ns2:allowComments xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">true</ns2:allowComments>

<ns2:allowResponsesReceived xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">true</ns2:allowResponsesReceived>

</ns1:requestAttributes>

</ns1:StartNotification>

Whereas the Soap expected at server is :-

<StartNotification xmlns="http://xml.avaya.com/diamond/schema/2007/07/ExceptionConferenceService">

<sessionId>AAAAAJtyuII=5b1cNg==-_2_2</sessionId>

<originator>

<ns1:requesterUniqueId xmlns:ns1="http://xml.avaya.com/diamond/schema/2007/07/external-common">deshpandev</ns1:requesterUniqueId>

<ns2:emailResponseMode xmlns:ns2="http://xml.avaya.com/diamond/schema/2007/07/external-common">none</ns2:emailResponseMode>

</originator>

<recipientList authenticate="false" cancelPreviousPerson="false">

<ns3:recipient type="internal" xmlns:ns3="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns3:recipientName>deshpandev</ns3:recipientName>

<ns3:role>moderator</ns3:role>

<ns3:displayName>deshpandev</ns3:displayName>

</ns3:recipient>

<ns4:recipient type="internal" xmlns:ns4="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns4:recipientName>deshpandev</ns4:recipientName>

<ns4:role>participant</ns4:role>

<ns4:displayName>deshpandev</ns4:displayName>

</ns4:recipient>

<ns5:recipient type="external" xmlns:ns5="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns5:recipientName>Venky</ns5:recipientName>

<ns5:displayName>Venky</ns5:displayName>

<ns5:contactList>

<ns5:contact>

<ns5:address>

<ns5:phoneNumber>

<ns5:value>+919420495790</ns5:value>

</ns5:phoneNumber>

</ns5:address>

<ns5:contactType>voice</ns5:contactType>

</ns5:contact>

</ns5:contactList>

</ns5:recipient>

</recipientList>

<mediaContentList>

<ns6:mediaContent locale="en_US" xmlns:ns6="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns6:subject>Please join the conf call</ns6:subject>

<ns6:message>Hi, Please join the call</ns6:message>

</ns6:mediaContent>

</mediaContentList>

<terminationConditions>

<ns7:expirationTime xmlns:ns7="http://xml.avaya.com/diamond/schema/2007/07/external-common">

<ns7:duration>PT5M</ns7:duration>

</ns7:expirationTime>

</terminationConditions>

<requestAttributes>

<ns8:allowComments xmlns:ns8="http://xml.avaya.com/diamond/schema/2007/07/external-common">false</ns8:allowComments>

<ns9:allowResponsesReceived xmlns:ns9="http://xml.avaya.com/diamond/schema/2007/07/external-common">false</ns9:allowResponsesReceived>

</requestAttributes>

</StartNotification>

I am not getting response from server.Is this the problem because of namespace i.e as I dont have ns3,ns4 ..... in mt request?

please help me

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Nidhi,

See the below link for RFC to Webservice scenario.

http://saptechnical.com/Tutorials/XI/RFCtoSOAP/page1.htm

Former Member
0 Kudos

1)Had u declared the message Interface for webservice synchronous

2) Had u done the Messasge mapping for response

3) Did the RFC had option to capture the response

4) Did webservice is sending any response when the request reaches thewebservice.

Former Member
0 Kudos

I have done everything

My Question is I have provided two soap messsges above one is which is reaching to the server and the other one which is actually expected at server.

So is thr any problem because of change in tags ns2,ns3,ns4