cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Webservice to IDoc Scenario

Former Member
0 Kudos

Dear All,

Iam dealing with Web Service to IDoc Scenario . I have used Exactly Once in the Quality Of Service (QOS) in sender communication channel .

I got the following error:

ResponseCode: 200 (OK)

content-type:text/xml;charset=utf-8

content-length:458

x-xmb_ws_encoded:version=1%2e0&Sender.Party=%3a%3a&Sender.Service=bs_kalyan_ws&Interface=urn%3asap-com%3adocument%3asap%3aidoc%3amessages%5eDEBMAS%2eDEBMAS05&Receiver.Party=%3a%3a&Receiver.Service=bs_kalyan_ws&To.Interface=htttp%3a%2f%2fkalyan%5emi_kalyan_ws&MessageClass=SE&ProcessingMode=S&ConversationId=&MessageId=30B49C89-9E75-DA40-B1D8-C5416903FE7A&RefToMessageId=A1A63B08-51B6-524A-8386-98235D7A7834&QualityOfService=BestEffort&TimeSent=2007-08-30T05%3a58%3a41Z

soapaction:'http://sap.com/xi/XI/Message/30'

content-id:<soap-0DDBA9025B11A44D9AF658912C1F424E@sap.com>

server:SAP Web Application Server (1.0;640)

<?xml version="1.0" encoding="utf-16"?>

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>System Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>

</context>

<code>IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP</code>

<text>Only asynchronous processing supported for IDoc adapter outbound processing</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Please do the needful.

Thanks in Advance,

Sarat

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sarat,

Please go through these threads

Reward points if usefull.......

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

I hope u have selected the IDoc processing mode as Synchronous.

IDoc supports only ASynchronous processing.

Regards

Santhosh

Message was edited by:

Santhosh Kumar V

Former Member
0 Kudos

Hi Santhosh,

How to check IDoc processing mode ?

santhosh_kumarv
Active Contributor
0 Kudos

1.Are u using BPM? If so

Check if u can specified the Send Synchronous step Type....

2.Normally no need to create Message Interface for IDoc...

Check if u have created a message inteface for Idoc and selected the mode as synchronous....

Message was edited by:

Santhosh Kumar V

Former Member
0 Kudos

Hi santhosh,

No iam not dealing with BPM . And more over I did not create any MI for IDoc . I have used an existing IDoc by name DEBMAS.DEBMAS05 .

Iam giving a simple .wsdl file as input to ".NetWebServiceStudio" tool and iam getting :

<code>IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP</code>

<text>Only asynchronous processing supported for IDoc adapter outbound processing</text>

this error in sxmb_moni as well as in the response tab of ".NetWebServiceStudio" tool .

Regards,

Sarat

Shabarish_Nair
Active Contributor
0 Kudos

if your WS is async, then why is it expecting a response ???

Former Member
0 Kudos

Hi Shabharish,

As the tool iam using is ".NetWebServiceStudio" which is synchronous coz it has request/response tab . But the same error iam getting in sxmb_moni which is tool independent .

Regards,

Sarat

Former Member
0 Kudos

Sarat,

Open your msg in SXMB_MONI and open the inbound msg -->SAOP Header --> ReliableMessaging. Let us know what is the value of the tag SAP:QualityOfService here.

AFAIK, if you set the value of QoS as EO in sender SOAP cc, then you should not face this problem.

One more thing, are you accessing the SOAP adapter or IE directly?

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Jai Shankar,

Ya what you told is correct just see the message that i got in sxmb_moni :

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:QualityOfService>BestEffort</SAP:QualityOfService>

</SAP:ReliableMessaging>

But in ID part in Sender side communication channel QOS is EO only. How can this happen ?

Regards,

Sarat

Former Member
0 Kudos

Are you accessing the SOAP adapter or IE directly?

What is the URL you used while creating the WSDL in ID?

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Jai Shankar,

Are you accessing the SOAP adapter or IE directly?

I didnt get this question can u be a bit clear ?

And coming to URL while creating WSDL i have clicked "Propose Url" button in step-2 of creating a Web Service.

Regards,

Sarat

Former Member
0 Kudos

Sarat,

>>And coming to URL while creating WSDL i have clicked "Propose Url" button

This means you are hitting the IE directly with out passing through AE.

TO make the call asynch in your case you have to include &QualityOfService=ExactlyOnce

Refer to this blog by Stefan to know more about this issue.

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

Regards,

Jai Shankar

Former Member
0 Kudos

Hi Jai Shankar,

Thankyou so much for that valuable information. I will work on it and get back to you if i still face any problem .

Thanks & Regards,

Sarat

Former Member
0 Kudos

Hi Jai shankar,

I have done what all you told me to do . I got the following error in the response tab of my tool " .Net Webservice studio" :

ResponseCode: 200 (OK)

Content-type:application/octet-stream

Content-length:1

0: 00 .

Moreover Iam not getting anything related to my scenario in SXMB_MONI .

Please help me .

Thanking you in advance,

Regards,

Sarat

Former Member
0 Kudos

Response 200 is not an error...

I think you can proceed with your scenario

Former Member
0 Kudos

Ok but my scenario is finished and still nothing is coming in SXMB_MONI

Former Member
0 Kudos

OK....then check in the communication channel monitoring and the message monitoring in the RWB...

Shabarish_Nair
Active Contributor
0 Kudos

Is your WS synchronous ? Note that Idoc is asynchronous. So if your WS is sync in nature then you will have to alter your design.

Former Member
0 Kudos

Hi Shabharish,

My WS is asynchronous only .

Regards,

Sarat