Error in Webservice to IDoc Scenario
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:<[email protected]>
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
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
Similar Messages
-
Error in File to IDOC Scenario
Hi,
I have File to IDOC scenario.
I am getting error in sender file channel.
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
Despite of this error in sender channel I am receiving the message in XI.
But in XI also it throws error :
"Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
Any help on this ?
Thanks,
VikasHello Vikas,
I am getting error in sender file channel.
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Mandatory parameter 'xml.keyfieldName': no value found "
Although I have used this parameter in content conversion 'xml.keyfieldName' (for each sub structure and defined a key field).
Check your flat file structure whether the key field you have chosen is appropriate and also recheck the FCC details whether you have assigned the value for the key field i.e. keyFieldValue.
"Unable to convert the sender service PG_TOM_CEEMEA_RU_SFA to an ALE logical system"
regarding the above error refer this
https://wiki.sdn.sap.com/wiki/display/XI/Unable%20to%20convert%20Sender%20system%20to%20ALE%20logical%20system
Regards,
Prasanna -
Error in File-PI-Idoc scenario
Dear All,
While working on File-PI-Idoc scenario, I am getting the error as
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">UNAUTHORIZED</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have checked various other posts on the same error but still I am not able to resolve this.
Please help me in resolving this error.
reg,
njNishu,
Please check whether you have assigned the following roles to the particular user you are using for data communication.
Roles:
SAP_XI_IS_SERV_USER,
SAP_XI_APPL_SERV_USER
Regards,
Sugata -
IDOC is posting with Errors in File to IDOC scenario
Hi,
I did the File to IDOC scenario for CREMAS . IDOC is posting with Errors .. i.e. in the status record it was showing 56- EDI: Partner profile inbound not available ..
If I manually process that IDOC in WE19 , then it was processing successfully.. and in the we19 it was showing Inbound Processing : Port Not Maintained but even though manually it was posting fine...
any ideas regarding this will be appriciated.....
Regards
BabuPlease check whether you had done the following assuming your doing File to Idoc
Settings in your Business service for the receiving system
Please specify the RFC detination, SAP System and Client of the Receiving System in the adapter specific detials.
Settings in R/3
WE20 - Add the partner profile for the particular message type cremas and process code.
Your statement
" and that same logical system name had given as Message Specific Attributes in the Sender Business Sevice parameters in I.D "
Please do mention R/3 Details in the receiver business service or system.
Thnz -
How to catch Posting error in File to IDoc Scenario?
I have successfully completed File to IDoc Scenario. Now I am interested in catching posting error. i.e., if mapping goes well and when IDoc is being sent to Recipient system then if any posting error is encountered, then a mail should go to a recipient.
Can anybody suggest the solution.
Regards,
Suraj KumarHi Suraj,
this can be done by triggerring an alert to the recipient.chk out these links to trigger a alert
/people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
/people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
regards
jithesh -
Getting Error 26 in ALE IDOC scenario .- EDI Syntax Check Error...
Hi..
i am working in ALE Idoc scenario...I am getting Status 3 as well as status 26 in we02 transaction in my custom IDOC scenario for outbound process..
The error is 'EDI- SYntax Check'..
How to remove this error..
Pls help.ya, there is only one segment available in IDOC..named i.e zseg_a .
So , error in postion is avoided..
How to find syntax error then? -
Error in SOAP to IDoc scenario
Dear Experts,
I have one SOAP to IDoc scenario where I am sending the request through Altova XML spy.
But I am getting the error "Only asynchronous processing supported for IDoc adapter outbound processg". but I have configured the QoS of Sender Communication channel as "Exactly Once(EO)" and I have activated the same.
In SXMB_MONI the "Type" of this scenario is also "Sync".
The created SOAP request URL is :" http://server:host/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_XXX&Interface=http%3A%2F%2Fsoapadapter_SOAPtoIDoc%5EMI_XXX.
Here I am getting the error as "Only asynchronous processing supported for IDoc adapter outbound processg".
If I send the service usinng the URl "http://server:port/XISOAPAdapter/MessageServlet?channel=:BS_XXX:CC_SOPtoIDoc&version=3.0&Sender.Service=BS_EAN_DELE&Interface=http%3A%2F%2Fsoapadapter_SOAPtoIDoc%5EMI_XXX",then I am getting HTTP 500 error.
Can you please suggest me where I have to change the configuration so that the "Type" will be async and the IDoc will be posted properly.
Thanks in advance.
Regards,
Amit Mandalhi,
you can also do it like this:
http://server:host/sap/xi/engine?type=entry&version=3.0&ProcessindMode=Asynchronous&QualityOfService=ExactlyOnce
&Sender.Service=BS_XXX&Interface=http%3A%2F%2Fsoapadapter_SOAPtoIDoc%5EMI_XXX.
and set use query string parameter in soap sender adapter
Regards,
Michal Krawczyk -
Hi,
1. I need to create a interface where a webservice call will be made to XI and XI will create an Idoc on SAP and sent back a response message. The interface is working fine where the webservice call is creating the Idoc but I am unable to get a response back for the Webservice call. Is there any way to do this, without using a BMP?
2. I have been looking for BLOG's or examples of Idoc to a Webservice, using the Receiver SOAP adapter and Webservice to Idoc, using the Sender SOAP adapter but haven't found any. Please let me know if you know of such documents.
Thanks
RudiHi Rudi,
using IDoc u can't get the response. u can get only acknowledgement in case of idoc.And the rcvr SAP system will send the Idoc acknoledgement to XI system ,not to the sender system.
So in ur case i think u have to go for 2 diffrent scenario..
SOAP to IDoc
IDoc to SAP.
or u can do 1 thing.. using BPM u can send the acknowledgement from XI to sendersystem incase if u need to only route the acknowledgement to sender sys.
Regards
Biplab -
Mapping Error with Sender JDBC- Idoc scenario
Hi Guru's,
I've got a simple asyncronous sender JDBC to Idoc scenario, and I encounter a strange problem with the mapping.
When I test the mapping it works fine, but when I run the scenario, only the first element (a constant) of the Idoc gets mapped, and mapping stops with no errors.
Does someone know where to find the error?
Thanks,
KarstHi Karst,
There might be several reasons that you do not see the IDOC structures are not created/mapped:
1. Most of the IDOC structures are optional (minOccrs = 0), so you have to make sure the structure itself (not just the fields within that structure) is mapped to something that does exist in the source data.
2. Make sure your JDBC generated source data does have the right namespace as you used in your mapping. I once had a similar problem, but finally found the source data generated in run time is slightly different from the one used in mapping in terms of namespace.
3. Test your mapping with the source data generated in runtime (you can copy it from SXMB_MONI). Then you may be able to find the problem.
Hope this helps.
Hart -
Error in file-ro-idoc scenario
Hi! I'm trying this scenario https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
And and have an error "Unable to convert the sender service MDM_to_CRM_BC to an ALE logical system". What maybe wrong in my scenario ?Vishnu, I'm very sorry, but:
I've opened we02 ---> Inbound idocs ---> CRMXIF_PARTNER_SAVE_M ---> Status 56
Then I've opened my idoc and see:
Control Rec
Data records - idoc fields
Status records --> 56 --> EDI: Partner profile not available
Message no. E0332
Diagnosis
A partner profile could not be found with the following key:
/ls_p1d /LS/
This involves the key fields of the table EDPP1:
-PARNUM partner number
-PARTYP partner type
Procedure
Please check the EDI partner profiles.
What should I do now? -
Error in 'WEBSERVICE TO RFC' SCENARIO
Hi experts,
i am facing a problem in 'WEB SERVICE-RFC' scenario,here we are using soap sender communication cheannel & rfc receiver communication channel.while processing the message from 'portal'(through web service in 'SXI_MONI' we are gettin 1 request & 2 response(error) message.
(in sxi_moni)
1st error message:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZBAPI_QUOTATION.Exception</SAP:ApplicationFaultMessage>
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
[note: here we are using 'ZBAPI_QUOTATION' IN sap r/3)
2nd response:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
<SAP:P1>Object ID 08490A2EBE1A301E9D13373FF379B9BE Software Component 9776FD71CBAE11DF8942F5910A010C19</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Interface mapping Object ID 08490A2EBE1A301E9D13373FF379B9BE Software Component 9776FD71CBAE11DF8942F5910A010C19 does not exist in runtime cache</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
please help me to solve this issue.For the mapping error >>> Please check whether you have created a response mapping and properly referenced it in your operation mapping
For the RFC exception error >> Please check if you have any new fields added in RFC , re Import the RFC definition in PI
refresh the cache SXI_Cache
Please check below similar threads
file rfc file
RFC_ADAPTER "APPLICATION_ERROR"
Re: Webservice to RFC testing
Hope this helps
Regards
Ninad -
Idoc to Webservice to Idoc scenario- is this possible without BPM?
Hi guys
We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
Questions:
1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
2. Is there a Async to Sync bridge in BPM?
3. How do I use this bridge in my scenario and customize it?
Appreciate your quick response
Regards
SatyaHi Satya,
>>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
You need BPM
2. Is there a Async to Sync bridge in BPM?
You dont need a "bridge", just take a synchronous send step
3. How do I use this bridge in my scenario and customize it?
Map the IDoc to request container and the response container to the second IDoc.
Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
Regards,
Udo -
Catch Mapping Error in File to IDoc scenario
Configured BPM and now learning Error Handling. I know that through BPM we can handle system Errors, but I doubt whether Mapping error is a system error.
I am interested to know the classification of errors with examples, preferably listing out all types of errors.
Please provide some weblogs or explain briefly how to handle system and application errors through BPM.
Thanks,
RajaHi Raja,
You will need CCMS if you want to send the Alerts to external system or you want to access the ALerts from the transaction. You can capture your alerts without this also.
When you go to Alert Configuration in the Runtime Workbench you can see Create Alert Rules. These rules are pertaining to the error generated in your AF,AE or IE.
Once you have completed the whole config. The error happening in the AE, IE or AF would trigger the alert. you can see this in your Alert Inbox.
The best would be if you go through the URL I have mentioned below.
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
You have to use BPM only if you want to do an activity after the alerts are raised.
Regards
Vijaya
Message was edited by: vijaya kumari -
Tool required to test webservice regarding Webservice to IDoc
Dear All,
Iam dealing with Webservice to IDoc Scenario . I require a tool to test my Web service . Please Do the needful
Thanks & Regards,
KalyanHi kalyan,
u can test using "Altova XML spy" or "Soapui".
Download "Altova XML spy" from the below link.
http://www.altova.com/download/xmlspy/xml_editor_enterprise.html
<u><b>Using XML SPY:</b></u>
Now open XML spy->go to FILE->OPEN->(select ur WSDL)->click on text(see below)->goto SOAP(see above)->create new SOAP request->ok->select MI->ok...
now u will get soap request in XML format.Now again goto SOAP->send request to server.if evrything is correct ...wait smtime u will get ur desire output.
Download SoapUi here below
http://sourceforge.net/projects/soapui/
<u><b>Using SoapUi:</b></u>
Open SoapUi....goto FILE->New WSDL Project->give any suitable name and browse the WSDL->Now drill down ->u will see "request1"->double click on that(here request gets create automatically.->click on the small green triange shape icon above.
Regards
biplab
<i>**reward with points if helpful</i> -
SOAP-IDOC scenario- HTTP 500 error
Hi All,
We are working on SOAP- IDOC scenario.
We are getting a request from Sender which should come via Reverse Proxy server to PI.
We generated WebService on PI and the URL(X) is shared with Proxy team, wherein they mapped that URL (X)with other URL(Y). This URL (Y)is shared to sender and he is trying to send some requests now.But below is the error message.
[09/02/13 15:26:12] ID=app01 (trace) Delivered HTTP Direct outbound message, containing details...
Destination URL=https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User=ZZZZZZZ
Status Code=500
[req]Content-Length=7148
[req]X-HTTPS-ClientAuthCertificate=/AAAAAAAAAAAAAAAA
[req]X-HTTPS-ClientAuthCertificateForm=PKCS12
[req]Authorization=Basic RjRGSU5GWEQxMDA6c3luZ2VudGEx
[req]X-HTTPS-CACertificatePath=/BBBBBBBBBBBB
[req]X-HTTPS-PrivateKey=/CCCCCCCCCCCCCCCCC
[req]JMSReplyTo=sga.ws.test.response
[req]messageuniqueid=6d65d89f-ffff-ffc0-00ee-3aa7032c3299
[req]adpnextmlemarkersequence=3
[req]X-HTTPS-PrivateKeyPassword=ZZZZZ[maid
[req]Content-Type=text/plain
[resp]content-type=text/xml; charset=utf-8
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
Any ClueHi,
Check this
HTTP 500
o Internal error in J2EE
o Check SAP Note 807000 - Http requests are not fully read
after timeout
Regards,
Sreenivas
Maybe you are looking for
-
How do I make my iPhone 'sent' mail folder sync exactly with my iMac 'sent' folder?
I've got an email set up through IMAP on my iPhone and on my mac and I've been using it for years but I've realized all of my folders sync exactly with the exception of my "sent" mailbox. For some reason, when I send something on my comp, it doesn't
-
My mom passed me her phone as she couldn't get it to restart. I got it to charge and restart in recovery mode. However, I've tried all steps on this and many other forums and it is stuck in "trying to restore". On the phone, it will blink a white
-
Java icon is on all PDF files, can you help remove it?
Hi From Jomar1952. I cant open PDF files anymore Java is on all PDF files. Action taken: Remove Java files, which now open with A/Reader Java Icon is off all files now. Files open without "open with" actions. thank you
-
Property Inspector Problem.
I am trying to change a button from text to image. I want to view the other buttons in the folder but I can not see the open folder. As you can see in the picture it is cut off and I cannot expand it. Can anyone help me with this? Thank you, Chris
-
What is best 2015 antivirus program for my iMac
Which antivirus program is recommended for my 2011 iMac running OSX Yosemite 10.10.1?