SOAP error when xmlns keyword is uppercase.

I have a problem with the SOAP receiver adapter.
XI creates a soap envelope with the keyword SOAP in uppercase:
<i>SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" >
<SOAP:Body>
</SOAP:Body>
</SOAP:Envelope></i>
This gets the following response from the web service:
<i>         <faultstring>The root element for the request could not be determined. When RoutingStyle is set to RequestElement, SoapExtensions configured via an attribute on the method cannot modify the request stream before it is read. The extension must be configured via the SoapExtensionTypes element in web.config, or the request must arrive at the server as clear text. --> The root element is missing.</faultstring></i>
I have finally worked out that the webservice which I am calling cannot parse this request.
It will only read the envelope and body is the soap is in lowercase.
<i><<b>soap</b>:Envelope xmlns:<b>soap</b>="http://schemas.xmlsoap.org/soap/envelope/">
<<b>soap</b>:Body>
</soap:Body>
</soap:Envelope></i>
The namespace used inside the body is fine, but uppercase SOAP fails every time.
Is there a way to change XI so it uses lowercase for the tags?
Is there a SOAP standard I can hit the webservice developers with?
Regards
Michael
(ps Thanks Bhavesh for feedback on my previous message.  I have created a new message now I know what the problem is!)

The best solution is certainly for the webservice provider to follow the standard and accept any prefix for the soap envelope. 
Unfortunately they are now in integration testing with other parties and cannot make any changes...  This means that I have to figure out a work-around.
The soap envelope is not added at the mapping stage, so I cannot modify it there.  However, I should be able to add the soap envelope in a mapping and select "No SOAP Envelope" in the soap adapter. 
I have tried this but got an HTTP error, so I am obviously not getting through to the webservice - maybe the action is not sent when there is no envelope?
Also, I think I also have to cope with the response coming with a soap envelope where XI does not expect it.
Any other suggestions for modifying the output from the SOAP adapter after it gets the soap envelope and before it leaves XI?
Moorthy, I would like to see the output but SAP note 856597 is no longer available on OSS... (An SAP note with the number requested could not be found)
Smitha, I have used soapUI to test the web service, and this was how I finally worked out that the soap had to be in lower case.
Regards
Michael

Similar Messages

  • SOAP Error When Referencing Indexed Picklist Fields

    You may receive the following error, or something similar, when trying to access the "Indexed Picklist" fields via webservices.
    <siebelf:errormsg>Method 'SetFieldValue' of business component 'Opportunity Copy No Sales Process' (integration component 'Opportunity') for record with search specification '[Name] = "Hay man"' returned the following error:"The value entered in field Indexed Pick 1 of buscomp Opportunity Copy No Sales Process does not match any value in the bounded pick list Occam Indexed Custom Opty 1.(SBL-DAT-00225)"(SBL-EAI-04375)</siebelf:errormsg>
    This error can be caused by searching for a picklist value that doesn't exist. In many cases, the picklist values are valid, but the developer is accessing the wrong picklist. This is a common mistake because the user interface, and WSDL files are a little different. Indexed Picklist 1 in the user interface is really IndexedPick0 in the WSDL definition file, not IndexedPick1 like many people would think.
    Indexed Picklist 1 = IndexedPick0
    Indexed Picklist 2 = IndexedPick1
    Indexed Picklist 3 = IndexedPick2
    Indexed Picklist 4 = IndexedPick3
    Indexed Picklist 5 = IndexedPick4
    Indexed Picklist 6 = IndexedPick5
    Below are the tests I ran when testing this issue, both SOAP requests and responses.
    ==========================================================================================================================================
    The value "Will" is a valid value for the indexed picklist 1 in the admin screen.... I receive the error because I should be looking in IndexedPick0, not IndexedPick1.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
    <OpportunityWS_OpportunityUpdate_Input xmlns="urn:crmondemand/ws/opportunity/10/2004">
    <ListOfOpportunity>
    <Opportunity>
    <OpportunityName>Hay man</OpportunityName>
    <IndexedPick1>Will</IndexedPick1>
    </Opportunity>
    </ListOfOpportunity>
    </OpportunityWS_OpportunityUpdate_Input>
    </soap:Body>
    </soap:Envelope>
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>Method 'SetFieldValue' of business component 'Opportunity Copy No Sales Process' (integration component 'Opportunity') for record with search specification '[Name] = "Hay man"' returned the following error:"The value entered in field Indexed Pick 1 of buscomp Opportunity Copy No Sales Process does not match any value in the bounded pick list Occam Indexed Custom Opty 1.(SBL-DAT-00225)"(SBL-EAI-04375)</faultstring>
    - <detail>
    - <siebelf:errorstack xmlns:siebelf="http://www.siebel.com/ws/fault">
    - <siebelf:error>
    <siebelf:errorsymbol />
    <siebelf:errormsg>Method 'SetFieldValue' of business component 'Opportunity Copy No Sales Process' (integration component 'Opportunity') for record with search specification '[Name] = "Hay man"' returned the following error:"The value entered in field Indexed Pick 1 of buscomp Opportunity Copy No Sales Process does not match any value in the bounded pick list Occam Indexed Custom Opty 1.(SBL-DAT-00225)"(SBL-EAI-04375)</siebelf:errormsg>
    </siebelf:error>
    </siebelf:errorstack>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    ==========================================================================================================================================
    Correct example and good response.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
    <OpportunityWS_OpportunityUpdate_Input xmlns="urn:crmondemand/ws/opportunity/10/2004">
    <ListOfOpportunity>
    <Opportunity>
    <OpportunityName>Hay man</OpportunityName>
    <IndexedPick0>Will</IndexedPick0>
    </Opportunity>
    </ListOfOpportunity>
    </OpportunityWS_OpportunityUpdate_Input>
    </soap:Body>
    </soap:Envelope>
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <ns:OpportunityWS_OpportunityUpdate_Output xmlns:ns="urn:crmondemand/ws/opportunity/10/2004">
    - <ListOfOpportunity xmlns="urn:/crmondemand/xml/opportunity">
    - <Opportunity>
    <OpportunityId>1-UVW382</OpportunityId>
    <AccountId>1-SILNWP</AccountId>
    <CreatedDate>12/07/2006 08:58:52</CreatedDate>
    <CreatedBy>Will Braithwaite, 12/07/2006 08:58:52</CreatedBy>
    <ExternalSystemId />
    <IntegrationId>1-UVW382</IntegrationId>
    <ModifiedDate>07/13/2007 09:45:56</ModifiedDate>
    <ModifiedById>1-S79WT5</ModifiedById>
    <ModifiedBy>Will Braithwaite, 07/13/2007 09:45:56</ModifiedBy>
    <CreatedById>1-S79WT5</CreatedById>
    </Opportunity>
    </ListOfOpportunity>
    </ns:OpportunityWS_OpportunityUpdate_Output>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Post Author: ayla1209
    CA Forum: Data Connectivity and SQL
    I'm having the same error - did you ever get a solution?

  • SOAP error when using RTC Integration Services SOAP Operations

    Oracle Real-Time Collaboration 10.1.2.0.0
    We are getting exception in the SOAP response when trying to use integration services from RTC. A portion of the log file is given below:
    09/04/13 09:46:58 se <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:createSession SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="urn:oracle-imt-service-facade-AuthenticationServiceEI">
    <param0 xsi:type="xsd:string">10000829</param0>
    <param1 xsi:type="xsd:string">MTAwMDA4Mjk6QCcqXSEvNVFELU5qZWwyVA==</param1>
    <param2 xsi:type="xsd:string">SITE</param2>
    </ns1:createSession></SOAP-ENV:Body></SOAP-ENV:Envelope>
    09/04/13 09:46:58 conn org.apache.axis.soap.SOAPConnectionImpl@925037
    [GC 61896K->52592K(100524K), 0.0077250 secs]
    09/04/13 09:46:58 response org.apache.axis.Message@197cfcb
    09/04/13 09:46:58 mpiResponse <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Fault><faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:HTTP</faultcode><faultstring>(0)null</faultstring><detail><string>return
    code: 0
    </string><ns2:HttpErrorCode xmlns:ns2="http://xml.apache.org/axis/">0</ns2:HttpErrorCode></detail></soapenv:Fault></soapenv:Body>
    Any help for fixing this issue would be highly appreciated.
    Thanks in advance.

    This article is all about setting up security on the web service. But, I just want to connect to the web service as a client using the proxy and the web service doesn't have any security set on it at this time.
    I am getting a connection timeout, even when I set the syncMaxWaitTime in the domain.xml file on the app server to a higher number (although this doesn't seem to affect the time it takes for the debugger to return).

  • SOAP error when running webdynpro application

    Hi All,
    I have developed a web dynrpo application using ABAP webdynpro in se80.
    When I run the application, I am getting the following error
    "The following error text was processed in the system WC3 : WebDynpro Exception: SOAP Framework error: SOAP Runtime Exception: CSoapExceptionTransport : HTTP send returned with status code(100.101). &#43970; 8
    The error occurred on the application server sys90_WC3_00 and in the work process 0 .
    The termination type was: RABAX_STATE "
    What would be the reason for throwing this error? In the SOAP runtime of SICF, I am not able to see any web dynpro application set up. How can i add web dynpro service in SOAP runtime? Or is there any other specific reasons too for this error.
    Any help is really appreciated.
    Thanks
    Ricky

    HI All,
    I have standalone ADS server and it is integrated with CRM system.when the user is trying to open/save the ads form he is getting an error webdynpro exception: the ads call has failed. i have checked test FP_TEST_00 things and that seems to be fine and i also have added one more extra role and still having the same problem.
    SOAP error.
    I got this error for bw system.so previous person who handling the systems told me that BW will have integrated ADS?which would get installed as part of bw installation?im not sure abt it? however one of the user is getting the SOAP error.
    Can any one help me out with above scenarios pls
    regards
    Raj

  • SOAP Error when testing messages.

    Hi Experts,
    We are using webservices sync both sides.  When we tested, I got this error:
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ModuleUnknownException</code>
                   <text>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/NW04S_06_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#3 $)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
    Any input?
    regards,
    Narayanan

    Hi experts,
    our scenario, Webservice <-> XI <-> webservices (both in sync mode). We checked following message: another SOAP Sender adapter "com.sap.aii.af.mp.module.ModuleException" erro and hope we have all of it.
    We face the same error. When checked test configuration, it worked fine but runtime, its giving the error.
    Let me know if you need more details to suggest.
    Regards.

  • SOAP error when trying to invoke an WebService

    Hello.
    I have an ejb 3.0 as a WebService. I deployed it on Jboss 4.05GA, all ok.
    But when i try to call the service from an application it does't work.
    XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Premature end of file.
    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:249)
    [b]
    and in Jboss i have:
    16:43:50,835 ERROR [StandardEndpointServlet] Error processing web service request
    javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: setProperty must be overridden by all subclasses of SOAPMessage
    at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:194)
    here is the source of my application:
    public class Down {
    @WebServiceRef(wsdlLocation="http://localhost.localdomain:8080/EJBModule1/NewWebService?WSDL")
    static public App.NewWebServiceService service;
    /** Creates a new instance of Down */
    public Down() {
    try {
    App.NewWebService we=new NewWebServiceService().getNewWebServicePort();
    //if (service == null) System.err.println("service e null");
    //else we = service.getNewWebServicePort();
    if (we != null) System.out.println(we.add(2,3));
    else System.out.println("E null!!");
    } catch (Exception ex) {ex.printStackTrace();}
    public static void main(String[] args) {
    Down dd = new Down();
    If I use the @WebServiceRef, service is null and i can't do anything. NewWebServiceService is generated (I used a new WebService/Web Service Client) and it added it as a WebServiceReference in NetBeans). Thanks a lot!

    Hi!
    This error occurs if you run jboss on SDK 1.6. Using JDK 1.5, it works fine. See http://www.jboss.org/?module=bb&op=viewtopic&p=4020868 for more information concerning this bug.
    Best regards,
    Thilo

  • SOAP error when publishing Infopath form to Sharepoint

    Hi - this is my 1st post and I hope
    someone can help with a problem I have.
    From Sharepoint, I took the list option
    to "Customize Form". I then customized the form in infopath 2010 and tried to publish but it comes up with the error:
    "The publish operation could not be
    completed. It cannot be determined if the form template was successfully published. Try publishing the form template again, or change the list settings to use the default sharepoint form. The SOAP message cannot be passed."
    I've also tried just taking the "Customize
    form" option from sharepoint and making no changes in infopath and then publishing and still I get the same error. I've also tried removing all but one field on the form but that doesn't work either. I then created a new test list on the same site with a few
    columns and tried creating a form for that list and that published fine so there is clearly something up with the list I'm trying to design the form for.
    Any ideas please as I'm totally stuck
    for ideas for this.

    Hi
    I'm afraid the ULS log information below means nothing to me,  but I'm hoping that it will help to identify the problem.  I've pasted the last section of the log from when the error happened:
    RE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3756 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'98 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3757 AND
    tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'89 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3759 AND tp_Version=7 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET
    sql_variant7=N'83 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3761 AND tp_Version=3 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'90 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3762 AND tp_Version=7 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'90 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3763 AND tp_Version=4 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'71 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3764 AND tp_Version=19 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'71 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3765 AND tp_Version=16 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'70 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3766 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'50 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3772 AND tp_Version=8 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'28 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3780 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'28 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3781 AND tp_Version=11 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'22 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3782 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'015 / Trn / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3783 AND tp_Version=20 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'15 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3784 AND tp_Version=19 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'2 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3787 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'2 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3788 AND tp_Version=8 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'TBC / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3790 AND tp_Version=11 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'TBC / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3791 AND tp_Version=10 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'0 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768'
    AND tp_ID = 3792 AND tp_Version=13 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'0 / PS / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3796 AND tp_Version=29 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'58429 / Dev / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3799 AND tp_Version=5 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58419 / PS / ' WHERE tp_ListId =
    'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3800 AND tp_Version=9 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58179 / Dev / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3807 AND tp_Version=7
    AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58178 / Dev / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3808 AND tp_Version=4 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58512
    / Lic / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3812 AND tp_Version=5 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58492 / Lic / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND
    tp_ID = 3816 AND tp_Version=20 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersioned SET sql_variant7=N'58483 / Lic / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3817 AND tp_Version=5 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE
    UserDataVersioned SET sql_variant7=N'58442 / Lic / ' WHERE tp_ListId = 'F5C66FBF-CF4B-4A1B-B7F5-B1D78A743768' AND tp_ID = 3821 AND tp_Version=4 AND tp_Level=1 AND tp_RowOrdinal=0;UPDATE UserDataVersione'     CommandType: Text CommandTimeout: 0
    3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:52.97 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Database btq8
    High System.Threading.ThreadAbortException: Thread was being aborted.     at SNIReadSync(SNI_Conn* , SNI_Packet** , Int32 )     at SNINativeMethodWrapper.SNIReadSync(SafeHandle pConn, IntPtr&
    packet, Int32 timeout)     at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()     at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()
        at System.Data.SqlClient.TdsParserStateObject.ReadByte()     at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject
    stateObj)     at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()     at System.Data.SqlClient.SqlDataReader.get_MetaData()     at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior,
    String resetOptionsString)     at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior
    cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)     at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)  
      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)     at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand
    command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean
    retryfordeadlock) 3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:52.97 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    General 8e2s
    Medium Unknown SPRequest error occurred. More information: 0x80131530
    3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:52.97 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Logging Correlation Data xmnv
    Medium Site=/sites/nfp
    3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:52.98 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    General 72nz
    Medium Videntityinfo::isFreshToken reported failure.
    3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:52.98 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Monitoring b4ly
    High Leaving Monitored Scope (Request (POST:http://gateway:80/sites/nfp/ps/pmo/projects/_vti_bin/FormsServices.asmx)). Execution Time=121823.1919
    3fcc87e8-8f0e-407b-a403-ebd5e0f9bbb7
    04/18/2011 13:25:53.01 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Logging Correlation Data xmnv
    Medium Name=Request (GET:http://gateway:80/sites/nfp/ps/pmo/projects/_layouts/error.aspx?ErrorText=Request%20timed%20out%2E)
    edd963de-a016-49d1-9400-f3d5aaf489a5
    04/18/2011 13:25:53.01 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Logging Correlation Data xmnv
    Medium Site=/sites/nfp
    edd963de-a016-49d1-9400-f3d5aaf489a5
    04/18/2011 13:25:53.03 w3wp.exe (0x0238)
    0x12C4 SharePoint Foundation
    Monitoring b4ly
    Medium Leaving Monitored Scope (Request (GET:http://gateway:80/sites/nfp/ps/pmo/projects/_layouts/error.aspx?ErrorText=Request%20timed%20out%2E)). Execution Time=10.147
    edd963de-a016-49d1-9400-f3d5aaf489a5

  • Occasional SOAP errors when making web service calls from C#

    We have a C# application making web service calls to RFCs (non-NCO, SAP 4.7, WAS 6.40) and occasionally getting the following error:
    The 'SOAP-ENV:Envelope' start tag on line '1' does not match the end tag of 'SOAP-ENV:Envel'. Line 1, position 34560.
    This error happens randomly and can occur, not occur, and occur again for the exact same call (same data, same web service call).  I anticipate that we might have a missing configuration on one of our application servers, but don't know where to tell BASIS to look.  Any ideas or other help would be appreciated.

    That's going to be difficult.  The random nature of the error makes it impossible to reproduce (so far) in our Development and Test environments.  Since the error is coming from the SAP side, I believe I would need a sniffer on each production application server in order to try to catch this and that would result in some very large log files.  Is there any log file or other SAP transaction that might already be capturing these failures?

  • Logon Error when Using soap Web Service

    Hi,
      I'm trying to determine why I'm getting the following error message when I submit a Web Service from our Custom Application to SAP.  This error is occurring in SAP ECC 6.0 SPS16 (Quality Client) and we do not have the JAVA Stack installed.  Our currently Production Installation is SAP ECC 6.0 SPS4 it works with out issues, however the Upgrade to SPS16 has produced alot of differences in web services.
    Also note that this service has been tested succesfully using soapUI Version 2.51. and Version 3.5.1 without producing this error.
    The user that is being utilized in all tests is an Internet User only.  I would also like to know if there is away to trace Internet User authorizatiion issues.
    Any help that can be provide is highly appreciated.
    Error Message:
    Logon failed
    What has happened?
    Call of URL http://bagqs1p1.rac.ray.com:1080/sap/bc/srt/rfc/sap/zwd_material_create/200/zwd_material_create/zwd_material_create
    terminated due to error in logon data.
    Note
    Logon performed in system AGQ.
    Logon performed for client 200, user , and language EN.
    What can I do?
    Check that you have entered the client, user, and password correctly.
    If you do not yet have a user ID, contact your system administrator.
    Error Code: ICF-LE-http-c:200-l:E-T:1-C:5-U:84-P:54-L:5
    HTTP 401 - Unauthorized
    Your SAP Internet Communication Framework Team
    Sincerely,
       Cris Anderson

    All of the web services were created in SOAManager if that is what you mean by setting them up in SAP PI.
    I'm guessing that the HTTP Code 200: OK means they are working correctly.
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header />
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</faultstring>
    - <detail>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</Exception_Text>
      </ChainedException>
      </ns:SystemFault>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/711/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException asx:root="asx:abap" version="1.0" xmlns:asx="http://www.sap.com/abapxml">
    - <asx:values>
      <EXCEPTION href="#o176" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_SOAP_CORE id="o176">
    - <CX_ROOT>
      <TEXTID>0018FE864EEE1DECA69CF9C71ACB337F</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>98</PROGID>
      <CONTID>1113</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_NO_CHECK />
    - <CX_SOAP_CORE>
    - <E_LOCATION>
      <CLASS>CL_SOAP_HTTP_TPBND_ROOT</CLASS>
      <METHOD>get_http_headers</METHOD>
      <ID>3</ID>
      </E_LOCATION>
      <E_TEXT>SRT: Wrong Content-Type and empty HTTP-Body received: ("HTTP Code 200 : OK")</E_TEXT>
      <E_ID>1032</E_ID>
      <E_FAULT_LOCATION>1</E_FAULT_LOCATION>
      <E_AREA>COREMSG</E_AREA>
      <E_HOST>0</E_HOST>
      <E_PROCESS_CONTROL />
      </CX_SOAP_CORE>
      </cls:CX_SOAP_CORE>
      </asx:heap>
      </ChainedException>
      </ns:SystemFault>
      </detail>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>

  • Error in soap header when use webservice consumer proxy

    Hi all,
    I create a webservice consumer proxy to external server. the webservice provider is .Net  and it required a message level security.
    The soap message should include a soap header, like this:
    <SOAP-ENV:Header>
    <m:AuthHeader xmlns:m="http://tempuri.org/">
    <m:Username>test1</m:Username>
    <m:Password>test</m:Password>
    </m:AuthHeader>
    </SOAP-ENV:Header>
    I have found many information from here. Now I used  IF_WSPROTOCOL_WS_HEADER in my program, like this:
    REPORT  zws_jp_test01.
    DATA: lo_zws_jp_co_service_soap TYPE REF TO zws_jp_co_service_soap .
    DATA: lo_fault TYPE REF TO cx_ai_system_fault.
    DATA: lo_appl_fault TYPE REF TO cx_ai_application_fault.
    TRY.
        CREATE OBJECT lo_zws_jp_co_service_soap
          EXPORTING
            logical_port_name = 'ZWS_JP_LP4'.
      CATCH cx_ai_system_fault INTO lo_fault.
        MESSAGE lo_fault TYPE 'I'.
    ENDTRY.
    DATA: output TYPE zws_jp_create_job_ad_soap_out .
    DATA: input TYPE zws_jp_create_job_ad_soap_in .
    DATA: lr_ws_header TYPE REF TO if_wsprotocol_ws_header.
    DATA: lv_name TYPE string,
          lv_namespace TYPE string.
    DATA l_xstring TYPE xstring.
    DATA l_string TYPE string.
    DATA: ixml TYPE REF TO if_ixml,
         xml_document TYPE REF TO if_ixml_document,
         xml_root TYPE REF TO if_ixml_element,
         xml_element TYPE REF TO if_ixml_element,
         xml_node TYPE REF TO if_ixml_node.
    lr_ws_header ?= lo_zws_jp_co_service_soap->get_protocol(
                                               if_wsprotocol=>ws_header ).
    CONCATENATE
      '<SOAP-ENV:Header>'
        '<m:AuthHeader xmlns:m="http://tempuri.org/">'
          '<m:Username>test1</m:Username>'
          '<m:Password>test</m:Password>'
        '</m:AuthHeader>'
      '</SOAP-ENV:Header>'
    INTO l_string.
    l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
    CALL FUNCTION 'SDIXML_XML_TO_DOM'
      EXPORTING
        xml           = l_xstring
      IMPORTING
        document      = xml_document
      EXCEPTIONS
        invalid_input = 1
        OTHERS        = 2.
    IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
      xml_root = xml_document->get_root_element( ).
      xml_element ?= xml_root->get_first_child( ).
      WHILE NOT xml_element IS INITIAL.
        lv_name = xml_element->get_name( ).
        lv_namespace = xml_element->get_namespace_uri( ).
        lr_ws_header->set_request_header(
            name            = lv_name
            namespace       = lv_namespace
            dom             = xml_element
            must_understand = SPACE
        xml_element ?= xml_element->get_next( ).
      ENDWHILE.
    ENDIF.
    input-job_ad-id = 0.
    input-job_ad_text-id = 0.
    input-job_ad-publish_location = 1.
    TRY.
        CALL METHOD lo_zws_jp_co_service_soap->create_job_ad
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault INTO lo_fault .
        MESSAGE lo_fault TYPE 'I'.
      CATCH cx_ai_application_fault INTO lo_appl_fault.
        MESSAGE lo_appl_fault TYPE 'I'.
        WRITE: output-create_job_ad_result-id.
    ENDTRY.
    But there is error when I run this program. the error is "SoapFaultCode:1"
    In tcode ST11, I see this log:
    E SOAP_RUNTIME 20100624004837.9280000 : CL_SOAP_RUNTIME_CLIENT
    ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To
    was not understood.
    btw the release is  701.
    Any one can navigate me to solved the problem?

    Hi,
      I have the same problem as you did before and I posted my code in this [thread|Change SOAP Header: Consuming Webservice;.
      In order to to solve your problem, I need to know what is the header that you want to add into the header, what is WSDL, and have you try testing that web service using other tool such as SOAPUI or XMLSPY and what is the result of testing tool?
    Regards,
    Chaiphon

  • Parsing error when running a SOAP client

    New to SOAP. Tring to get get it up an running using some of the Oreilly examples from Java and XML. Anyone with any suggestions to fix the error I am getting. Thanx in advance.
    1>This is my simple SAX client:
    package xml;
    import java.net.URL;
    import java.util.Vector;
    import org.apache.soap.Constants;
    import org.apache.soap.Fault;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.SOAPException;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.rpc.Response;
    public class CDAdder {
    public void add(URL url, String title, String artist) throws SOAPException {
    System.out.println("Adding CD titled '" + title + "' by '" + artist + "'");
    //Build the call object
    Call call = new Call();
    call.setEncodingStyleURI("urn:cd-catalog");
    call.setMethodName("addCD");
    call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
    //Setup the parameters
    Vector params = new Vector();
    params.addElement(new Parameter("title",String.class,title,null));
    params.addElement(new Parameter("artist",String.class,artist,null));
    call.setParams(params);
    //Invoke the call
    Response response;
    response = call.invoke(url,"");
    if(!response.generatedFault()) {
    System.out.println("Successful CD Addition");
    } else {
    Fault fault = response.getFault();
    System.out.println("Error encountered: " + fault.getFaultString());
    public static void main(String[] args) {
    try {
    URL url = new URL("http://localhost:8081/soap/servlet/rpcrouter");
    String title = "Riding the Midnight Train";
    String artist = "Doc Watson";
    CDAdder adder = new CDAdder();
    adder.add(url, title, artist);
    } catch(Exception e) {
    e.printStackTrace();
    2>My service:
    package javaxml2;
    import java.util.Hashtable;
    public class CDCatalog {
    private Hashtable catalog;
    public CDCatalog() {
    catalog = new Hashtable();
    catalog.put("Nickel Creek", "Nickel Creek");
    catalog.put("Let it Fall", "Sean Watkins");
    catalog.put("Aerial Boundaries", "Michael Hedges");
    catalog.put("Taproot", "Michael Hedges");
    public void addCD(String title, String artist) {
    if ((title == null) || (artist==null)) {
    throw new IllegalArgumentException("Title or Artist cannot be null.");
    catalog.put(title, artist);
    public String getArtist(String title) {
    if (title == null) {
    throw new IllegalArgumentException("Title cannot be null.");
    return (String)catalog.get(title);
    public Hashtable list() {
    return catalog;
    3>My deployement descriptor:
    <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
    id="urn:cd-catalog"
    >
    <isd:provider type="java"
    scope="Application"
    methods="addCD getCD list"
    >
    <isd:java class="javaxml2.CDCatalog" static="false" />
    </isd:provider>
    <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
    </isd:service>
    4>I have deployed the SOAP Service:
    D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
    lhost:8081/soap/servlet/rpcrouter deploy xml/CDCatalogDD.xml
    D:\XML-RPC\javaxml2>java org.apache.soap.server.ServiceManagerClient http://loca
    lhost:8081/soap/servlet/rpcrouter list
    Deployed Services:
    urn:cd-catalog
    D:\XML-RPC\javaxml2>
    Error when I try using the service:FYI: I am running the client with JBuilder 2005
    Adding CD titled 'Riding the Midnight Train' by 'Doc Watson'
    Error encountered: parsing error: org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="ns1",rawname="xmlns:ns1"" is invalid. Prefixed namespace bindings may not be empty.

    call.setEncodingStyleURI("urn:cd-catalog");
    in the SOAP client has to be
    call.setTargetObjectURI("urn:cd-catalog");

  • Mapping error when trying to test SOAP message from RWB

    Hi all,
    I am very new to XI and I will like to get some advise for testing an asynchronous interface:
    SOAP -> XI -> File
    To test the interface:
    I logged into RWB - Component Monitoring - Adapter Engine - Test Message:
    URL: http://ootspdbs02:50100/XISOAPAdapter/MessageServlet?channel=:BS_RON_TEST:SOAP_Sender_Test
    Service: BS_RON_TEST
    Interface: MI_TestWebServiceServer_UpdatePatAdmissInfo
    Interface Namespace: urn:test:ron:fapl:TestWebServiceServer
    QOS: EO
    Payload (I generated this from XMLSpy with the WSDL generated in Integration Directory):
    <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" xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
         <SOAP-ENV:Body>
              <m:MI_TestWebServiceServer_UpdatePatAdmissInfo xmlns:m="urn:test:ron:fapl:TestWebServiceServer">
              <ns0:Header>
                   <ns0:encoding>String</ns0:encoding>
                   <ns0:sendingApp>String</ns0:sendingApp>
                   <ns0:sendingFac>String</ns0:sendingFac>
                   <ns0:receivingApp>String</ns0:receivingApp>
                   <ns0:receivingFac>String</ns0:receivingFac>
                        <ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
                   <ns0:messageType>String</ns0:messageType>
                   <ns0:messageId>String</ns0:messageId>                    <ns0:messageDesc>String</ns0:messageDesc>
                   </ns0:Header>
                   <ns0:patientID>String</ns0:patientID>
                   <ns0:institutionID>String</ns0:institutionID>
                   <ns0:caseNumber>String</ns0:caseNumber>
                   <ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
                   <ns0:ward>String</ns0:ward>
                   <ns0:bed>String</ns0:bed>
                   <ns0:room>String</ns0:room>
              <ns0:movementCategory>String</ns0:movementCategory>
              <ns0:movementType>String</ns0:movementType>
              </m:MI_TestWebServiceServer_UpdatePatAdmissInfo>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The error I got in SXMB_MONI is:
    <?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="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA~</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_TestWebServerService_UpdatePatA: RuntimeException in Message-Mapping transformatio</b></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    <Trace level="1" type="T"><b>com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns1:MT_TestMsg/CaseNumber. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:303) at .....</b>
    The message mapping consists of direct maps from each field in the source to the target (MT_TestMsg).
    CaseNumber is the first field to be mapped.
    In IR, I tested the interface and it works fine - no error in mapping.
    I assume I cannot use the message generated in IR, because the SOAP envelope is required. (I tried anyway, and encountered the same error.)
    Please advise how I can resolve this error.
    Many thanks in advance.
    Ron

    Hi all,
    I notice the tag and namespaces are changed when I generate the XML from the WSDL.
    I am expecting something this format in IR:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:updatePatientAdmissionInfo xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd">
       <ns0:Header>
          <ns0:encoding/>
          <ns0:sendingApp/>
          <ns0:sendingFac/>
          <ns0:receivingApp/>
          <ns0:receivingFac/>
          <ns0:timeStamp/>
          <ns0:messageType/>
          <ns0:messageId/>
          <ns0:messageDesc/>
       </ns0:Header>
       <ns0:patientID/>
       <ns0:institutionID/>
       <ns0:caseNumber/>
       <ns0:admissionDateTime/>
       <ns0:ward/>
       <ns0:bed/>
       <ns0:room/>
       <ns0:movementCategory/>
       <ns0:movementType/>
    </ns0:updatePatientAdmissionInfo>
    However, the message generated is :
    <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" <b>xmlns:ns0="urn:OOTSUpdatePatientAdmissionInfoWsd"></b>
    <SOAP-ENV:Body>
    <b><m:MI_TestWebServiceServer_UpdatePatAdmissInfo  xmlns:m="urn:test:ron:fapl:TestWebServiceServer" ></b>
    <ns0:Header>
    <ns0:encoding>String</ns0:encoding>
    <ns0:sendingApp>String</ns0:sendingApp>
    <ns0:sendingFac>String</ns0:sendingFac>
    <ns0:receivingApp>String</ns0:receivingApp>
    <ns0:receivingFac>String</ns0:receivingFac>
    <ns0:timeStamp>2001-12-17T09:30:47.0Z</ns0:timeStamp>
    <ns0:messageType>String</ns0:messageType>
    <ns0:messageId>String</ns0:messageId> <ns0:messageDesc>String</ns0:messageDesc>
    </ns0:Header>
    <ns0:patientID>String</ns0:patientID>
    <ns0:institutionID>String</ns0:institutionID>
    <ns0:caseNumber>String</ns0:caseNumber>
    <ns0:admissionDateTime>2001-12-17T09:30:47.0Z</ns0:admissionDateTime>
    <ns0:ward>String</ns0:ward>
    <ns0:bed>String</ns0:bed>
    <ns0:room>String</ns0:room>
    <ns0:movementCategory>String</ns0:movementCategory>
    <ns0:movementType>String</ns0:movementType>
    <b></m:MI_TestWebServiceServer_UpdatePatAdmissInfo></b>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    The namespace and the root tag is changed!
    I think this might be causing the problem.
    But how do I resolve it?

  • Question: Application error when using SOAP sender

    Hi,
    I got the following error when calling SOAP sender:
    - <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="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The return message is:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
      <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">gdcn-admin</ns2:hostname>
    From the runtime monitor, it shows:
    SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
    Actually I maintained the host name in file hosts. And with XMLSpy, I can directly connect the Webservice successfully, but with XI, it stops me at this point. It seems the connection has been established, because if the WebService is stopped, I will get error HTTP 0 Null, If it's started, I get the above problem.
    Could you please provide the hints.
    Thanks a lot!
    Best Regards
    Yuedong

    Hi,
    I found the problem:
    It's because of the wrong format of message. the message is created with a WSDL file generated by external development system, but it's not correctly explained by XI. I manually created the messge (request & response), then it worked.
    Actually the error has nothing to do with hostname. it means the host returns application error (but unfortunately there is no detailed information).
    Thanks a lot for your kindly help!
    Best Regards
    Yuedong
    By the way, how can I reward the point?
    Message was edited by: Yuedong Chen

  • Error when posting a SOAP request

    Hi all,
    Facing error when posting the SOAP request and after entering the Server Username and password giving error that http not found and url
    The URL i follow is http://<hostname>:<port>/XISOAPAdapter/MessageServlet?version=7.0&channel=:BusinessSystem:PI_SOAP_CC
    can any one of you tell me in place of XISOAPAdapter what should i place?
    Please help me to post the SOAP request to PI server.
    Thanks in advance ,
    Manohar.

    Hi ,
    copy the same URL  (Endpoint that you had given while generating wsdl file) to the browser and chek the status. ( http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel)
    See the below URL for the same i.e. SOAP adapter...http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    You should get response something like this '
    Message Servlet is in Status OK
    Status information:
    Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#15 $) 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
    This  is make sure that webservice endpoint is given correctly. Don't forget to give username and password for connecting to XI server. user should xiappluser .
    Ranjeet Singh.

  • Error When Creating Oracle Text index using Lexer Keyword

    Hi All,
    I am getting following error when i creating oracle text index using lexer & stoplist keyword.
    Pls Help me if any body know.
    Thanks in Advance.
    Error starting at line 1 in command:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    Post INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    Error at Command Line:1 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-11000: invalid keyword LEXER
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 365
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    Regards,
    Jack R.

    Hi,
    it works if you put an extra PARAMETERS clause at the end so the creation looks like:
    CREATE INDEX TXT_INX_TEXT_SEARCH ON TEXT_SEARCH (BFILE_DOC)
    INDEXTYPE IS "CTXSYS"."CONTEXT" LOCAL (
    PARTITION "BEFORE_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') ,
    PARTITION "Q1_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2007" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2008" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q1_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q2_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q3_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "Q4_2009" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)'),
    PARTITION "THE_REST" PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)')
    PARAMETERS ('LEXER dd_lexer STOPLIST dd_stoplist SYNC (ON COMMIT)') <== Added
    Hope this helps
    Herald ten Dam

Maybe you are looking for

  • Can the new maxed out 5k iMac connect up to 2 apple thunderbolt displays?

    Is that possible?  Will there be any lags or overheat or any potential problems?

  • Workitem forwarding

    Hi All, I searched threads regarding workitem forwarding, but cldnt get one related to my issue. This WF is related to archiving invoice. On scanning of invoice, WF triggers, sends workitem to AP, AP executes workitem, screen is in edit mode. Due to

  • ADDRESSNUMBER to print address  in sapscript.

    Hi all, This is the code in my sapscript, currently it is printing the 'PO Box Addresss'. I know this method calls the function module 'address_into_printform' for printing address. In FM 'address_into_printform' there is a parameter through which we

  • Safari will not let me save pdf

    im not sure but Safari 5.1.5 will not let me save pdf?

  • Scanned images appear in iPhoto but not in iMovie

    Hi I've seen similar problems posted here but no resolution. Here is the issue. We have a lot of images that have been scanned into iPhoto with an HP all-in-one. They all are jpeg and all show up nice in iPhoto and move to iPhoto slide shows fine. Ho