on 09-18-2009 12:04 PM
Hello Experts,
Scenario is : Soap -> XI -> R3 (Proxy).
I have created a WSDL using the url as :
http://pfodx100.xyz.dk:52000/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC
(I have replaced here actual domain with xyz, also renamed CC, etc. But format for URL used is same as that shown above)
when checked in XMLSPY, WSDL is valid.
On sending a soap request to Server from XML spy i get error as :
HTTP error: could not POST
'/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC&version=3.0&Sender.Service=BS_MobileAp&Interface=+http%3A%2F%2Fxyz.dk%2Fmobiletimereg%2Fxyz%5EOutboundInterface_Async" on server 'pfodx100.xyz.dk'
On testing this URL via Internet Explorer, first I get a warning :
"There is a problem with this website's security certificate"
If I select "Continue to this website (not recommended). "
IE prompts for : User name and PWD. On Entering uname and passward, i get the message as :
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_15_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
Please sugest.
Regards,
XI Queries.
Hi,
Check the URL inside WSDL
and change it to http://pfodx100.xyz.dk:52000/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC
OR
delete &version=3.0&Sender.Service=BS_MobileAp&Interface=+http%3A%2F%2Fxyz.dk%2Fmobiletimereg%2Fxyz%5EOutboundInterface_Async from url parameter in wsdl
Also see the sender soap adapter and SXMB_MONI for messages
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, very much! Appropriate points.
Change for adress in WSDL fixed the error.
Now I get reponse as
<html>
<head>
<title>MessageServlet</title>
</head>
<body>
<h3>Message Servlet is in Status OK</h3>
<h3>Status information:</h3>
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_15_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
<br/>Classname ModuleProcessor: null
<br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
<br/>Lookupname for remoteModuleProcessorLookupName: null
<br/>ModuleProcessorClass not instantiated
<br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
<br/>ModuleProcessorRemote not instantiated
</body>
</html>
And the status of CC in RWB is still
"Inactive or Uninitialised"
What does it mean?
- I am getting the response back in XMLspy as above.
- I have just modified some values in Soap request created by SPY and used "Send Request to server"
What is that I am missing ?
Hi,
And the status of CC in RWB is still
"Inactive or Uninitialised"
What does it mean?
This means that the SOAP Channel has not yet receiver any request and hence is in inactive or uninitialized state. Generally SOAP Channel works like this. till first message is successfully received by Adapter it will be in this state and later will change to red or green.
>> I am getting the response back in XMLspy as above. I have just modified some values in Soap request created by SPY and used "Send Request to server"
Can you paste the request message here??
Also check whether any other SOAP Scenario is working successfully in your XI server?
Regards
Suraj
Dear Suraj,
Here is the soap request generated by XML Spy using the WSDL generated by XI (after modifying the URL in wsdl as per ur sugestion). I have just replaced the string in first few parameters for testing purpose.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:ZPSA_CAT2_DATA_MT xmlns:m="http://kmd.dk/mobiletimereg/kmd">
<PERSONAL_ID>12345</PERSONAL_ID>
<DEVICE_TYPE>adff</DEVICE_TYPE>
<PROFILE>UDF</PROFILE>
<RELEASE_DATE>190909</RELEASE_DATE>
<AGENT_OTYPE>String</AGENT_OTYPE>
<AGENT_OBJID>String</AGENT_OBJID>
<TEXT_FORMAT_IMP>String</TEXT_FORMAT_IMP>
<I_CATSRECORDS>
<WORKDATE>String</WORKDATE>
<EMPLOYEENUMBER>String</EMPLOYEENUMBER>
<SEND_CCTR>String</SEND_CCTR>
<SENBUSPROC>String</SENBUSPROC>
<ACTTYPE>String</ACTTYPE>
<PO_NUMBER>String</PO_NUMBER>
<PO_ITEM>String</PO_ITEM>
<SERVICE>String</SERVICE>
<REC_CCTR>String</REC_CCTR>
<REC_ORDER>String</REC_ORDER>
<NETWORK>String</NETWORK>
<ACTIVITY>String</ACTIVITY>
<SUB_ACTIVITY>String</SUB_ACTIVITY>
<CAPA_CATEGORY>String</CAPA_CATEGORY>
<SPLIT>String</SPLIT>
<WORK_CNTR>String</WORK_CNTR>
<WBS_ELEMENT>String</WBS_ELEMENT>
<RECSALEORD>String</RECSALEORD>
<RECITEM>String</RECITEM>
<RECCOSTOBJ>String</RECCOSTOBJ>
<RECBUSPROC>String</RECBUSPROC>
<ABS_ATT_TYPE>String</ABS_ATT_TYPE>
<WAGETYPE>String</WAGETYPE>
<TRIPNO>String</TRIPNO>
<OT_COMP_TYPE>String</OT_COMP_TYPE>
<WORKTAXAREA>String</WORKTAXAREA>
<VALUATION_BASIS>String</VALUATION_BASIS>
<CURRENCY>String</CURRENCY>
<CURRENCY_ISO>String</CURRENCY_ISO>
<EXTRA_PAY_INDIC>String</EXTRA_PAY_INDIC>
<PAYSCALEGROUP>String</PAYSCALEGROUP>
<PAYSCALELEVEL>String</PAYSCALELEVEL>
<BONUSTYPA>String</BONUSTYPA>
<BONUSVALUE>String</BONUSVALUE>
<POSITION>String</POSITION>
<CO_AREA>String</CO_AREA>
<TRANS_CURR>String</TRANS_CURR>
<TRANS_CURR_ISO>String</TRANS_CURR_ISO>
<PRICE>String</PRICE>
<PLANT>String</PLANT>
<CALC_MOTIVE>String</CALC_MOTIVE>
<CATSHOURS>String</CATSHOURS>
<UNIT>String</UNIT>
<ISOCODE_UNIT>String</ISOCODE_UNIT>
<STARTTIME>String</STARTTIME>
<ENDTIME>String</ENDTIME>
<pre><code>String</code></pre>
<ALL_DAY_FLAG>String</ALL_DAY_FLAG>
<REM_WORK>String</REM_WORK>
<FCST_FIN_DATE>String</FCST_FIN_DATE>
<FIN_CONF>String</FIN_CONF>
<SHORTTEXT>String</SHORTTEXT>
<PART_CONF>String</PART_CONF>
<EXTSYSTEM>String</EXTSYSTEM>
<EXTAPPLICATION>0</EXTAPPLICATION>
<EXTDOCUMENTNO>String</EXTDOCUMENTNO>
<STATKEYFIG>String</STATKEYFIG>
<QUANTITY>String</QUANTITY>
<UNITQ>String</UNITQ>
<ISO_UNITQ>String</ISO_UNITQ>
<AMOUNT>String</AMOUNT>
<LONGTEXT>String</LONGTEXT>
<FUND>String</FUND>
<FUNC_AREA>String</FUNC_AREA>
<GRANT_NBR>String</GRANT_NBR>
<SEND_FUND>String</SEND_FUND>
<SEND_FUNCTION>String</SEND_FUNCTION>
<SEND_GRANT>String</SEND_GRANT>
<CPR_GUID>String</CPR_GUID>
<CPR_EXTID>String</CPR_EXTID>
<CPR_OBJGUID>String</CPR_OBJGUID>
<CPR_OBJGEXTID>String</CPR_OBJGEXTID>
<CPR_OBJTYPE>String</CPR_OBJTYPE>
</I_CATSRECORDS>
<I_EXTENSION>
<ROW>String</ROW>
<ZZLOEBENUMMER>String</ZZLOEBENUMMER>
<ZZLTXA1>String</ZZLTXA1>
<ZZFRAVAERSTYPE>String</ZZFRAVAERSTYPE>
<ZZKTEXT>String</ZZKTEXT>
<ZZFRAVAERSTYPE2>String</ZZFRAVAERSTYPE2>
<ZZTIMETYPE>String</ZZTIMETYPE>
<ZZKZTXT>String</ZZKZTXT>
<ZZ_EXT_GUID>String</ZZ_EXT_GUID>
</I_EXTENSION>
<I_WORKFLOW_TEXT>
<LINE>String</LINE>
</I_WORKFLOW_TEXT>
<I_LONGTEXT>
<ROW>String</ROW>
<FORMAT_COL>String</FORMAT_COL>
<TEXT_LINE>String</TEXT_LINE>
</I_LONGTEXT>
<KOMMUNEKODE>String</KOMMUNEKODE>
</m:ZPSA_CAT2_DATA_MT>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Edited by: Xi queries on Sep 18, 2009 1:43 PM
Changes made for formating purpose.
You try to replace all "String" with any number or value like 0,1 etc. May be some of the fileds will be mandatory for which you are not sending values thus failing to respond.
Best is to test message mapping in IR and see if it works with the Request parameters sent. If yes,then it will work in XML spy too.
Check SXMB_MONI and CC in runtime workbench also.
Hi,
Just try this:
Replace
<m:ZPSA_CAT2_DATA_MT xmlns:m="http://kmd.dk/mobiletimereg/kmd">
<PERSONAL_ID>12345</PERSONAL_ID>
<DEVICE_TYPE>adff</DEVICE_TYPE>
<PROFILE>UDF</PROFILE>
<RELEASE_DATE>190909</RELEASE_DATE>
<AGENT_OTYPE>String</AGENT_OTYPE>
<AGENT_OBJID>String</AGENT_OBJID>
<TEXT_FORMAT_IMP>String</TEXT_FORMAT_IMP>
<I_CATSRECORDS>
<WORKDATE>String</WORKDATE>
<EMPLOYEENUMBER>String</EMPLOYEENUMBER>
<SEND_CCTR>String</SEND_CCTR>
<SENBUSPROC>String</SENBUSPROC>
<ACTTYPE>String</ACTTYPE>
<PO_NUMBER>String</PO_NUMBER>
<PO_ITEM>String</PO_ITEM>
<SERVICE>String</SERVICE>
<REC_CCTR>String</REC_CCTR>
<REC_ORDER>String</REC_ORDER>
<NETWORK>String</NETWORK>
<ACTIVITY>String</ACTIVITY>
<SUB_ACTIVITY>String</SUB_ACTIVITY>
<CAPA_CATEGORY>String</CAPA_CATEGORY>
<SPLIT>String</SPLIT>
<WORK_CNTR>String</WORK_CNTR>
<WBS_ELEMENT>String</WBS_ELEMENT>
<RECSALEORD>String</RECSALEORD>
<RECITEM>String</RECITEM>
<RECCOSTOBJ>String</RECCOSTOBJ>
<RECBUSPROC>String</RECBUSPROC>
<ABS_ATT_TYPE>String</ABS_ATT_TYPE>
<WAGETYPE>String</WAGETYPE>
<TRIPNO>String</TRIPNO>
<OT_COMP_TYPE>String</OT_COMP_TYPE>
<WORKTAXAREA>String</WORKTAXAREA>
<VALUATION_BASIS>String</VALUATION_BASIS>
<CURRENCY>String</CURRENCY>
<CURRENCY_ISO>String</CURRENCY_ISO>
<EXTRA_PAY_INDIC>String</EXTRA_PAY_INDIC>
<PAYSCALEGROUP>String</PAYSCALEGROUP>
<PAYSCALELEVEL>String</PAYSCALELEVEL>
<BONUSTYPA>String</BONUSTYPA>
<BONUSVALUE>String</BONUSVALUE>
<POSITION>String</POSITION>
<CO_AREA>String</CO_AREA>
<TRANS_CURR>String</TRANS_CURR>
<TRANS_CURR_ISO>String</TRANS_CURR_ISO>
<PRICE>String</PRICE>
<PLANT>String</PLANT>
<CALC_MOTIVE>String</CALC_MOTIVE>
<CATSHOURS>String</CATSHOURS>
<UNIT>String</UNIT>
<ISOCODE_UNIT>String</ISOCODE_UNIT>
<STARTTIME>String</STARTTIME>
<ENDTIME>String</ENDTIME>
<pre><code>String</code></pre>
<ALL_DAY_FLAG>String</ALL_DAY_FLAG>
<REM_WORK>String</REM_WORK>
<FCST_FIN_DATE>String</FCST_FIN_DATE>
<FIN_CONF>String</FIN_CONF>
<SHORTTEXT>String</SHORTTEXT>
<PART_CONF>String</PART_CONF>
<EXTSYSTEM>String</EXTSYSTEM>
<EXTAPPLICATION>0</EXTAPPLICATION>
<EXTDOCUMENTNO>String</EXTDOCUMENTNO>
<STATKEYFIG>String</STATKEYFIG>
<QUANTITY>String</QUANTITY>
<UNITQ>String</UNITQ>
<ISO_UNITQ>String</ISO_UNITQ>
<AMOUNT>String</AMOUNT>
<LONGTEXT>String</LONGTEXT>
<FUND>String</FUND>
<FUNC_AREA>String</FUNC_AREA>
<GRANT_NBR>String</GRANT_NBR>
<SEND_FUND>String</SEND_FUND>
<SEND_FUNCTION>String</SEND_FUNCTION>
<SEND_GRANT>String</SEND_GRANT>
<CPR_GUID>String</CPR_GUID>
<CPR_EXTID>String</CPR_EXTID>
<CPR_OBJGUID>String</CPR_OBJGUID>
<CPR_OBJGEXTID>String</CPR_OBJGEXTID>
<CPR_OBJTYPE>String</CPR_OBJTYPE>
</I_CATSRECORDS>
<I_EXTENSION>
<ROW>String</ROW>
<ZZLOEBENUMMER>String</ZZLOEBENUMMER>
<ZZLTXA1>String</ZZLTXA1>
<ZZFRAVAERSTYPE>String</ZZFRAVAERSTYPE>
<ZZKTEXT>String</ZZKTEXT>
<ZZFRAVAERSTYPE2>String</ZZFRAVAERSTYPE2>
<ZZTIMETYPE>String</ZZTIMETYPE>
<ZZKZTXT>String</ZZKZTXT>
<ZZ_EXT_GUID>String</ZZ_EXT_GUID>
</I_EXTENSION>
<I_WORKFLOW_TEXT>
<LINE>String</LINE>
</I_WORKFLOW_TEXT>
<I_LONGTEXT>
<ROW>String</ROW>
<FORMAT_COL>String</FORMAT_COL>
<TEXT_LINE>String</TEXT_LINE>
</I_LONGTEXT>
<KOMMUNEKODE>String</KOMMUNEKODE>
</m:ZPSA_CAT2_DATA_MT>
with the structure taken from the Source of test tab. Also try putting some values in the nodes.
But i think this is some basis problem. Please do consult with the basis too.
Regards
Suraj
Edited by: S.R.Suraj on Sep 18, 2009 7:52 AM
The above Soap request is diaplayed wrongly due to change in formating by browser, actually i did pasted it with all the xml tags. If you try to Edit the message , actual request can be seen. sorry for this trouble.
Also i checked in system, all sender soap CC are in same status i.e. Channel started but Inactive.
Since the message has not yet reached CC / Adapetr Engine, i dont think testing the request for mapping will help. also I have not marked any parameter as mandatory.
Any other suggestions.
Hi,
The URL is OK - http://pfodx100.xyz.dk:52000/XISOAPAdapter/MessageServlet?channel=:BS_Mob:Soap_Sender_Sync_CC
But in WSDL file you have put other address - put this URL is address location inside WSDL.
soap:address location
Then u can check SXMB_MONI for message in XI.
If still message not comes, go in IR and test your message mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.