SOAP Query

Hi All,
I am doing a scenario to check connectivity for SOAP Receiver adapter based on the given WSDL.I am geting the following error when I check the adapter in Runtime workbench.
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: No available destination graph
Does this mean that the request has been successful and there is a error while sending the response. I have sent some dummy data to check if I can have a connectivity from PI to the URL. Does this confirm that the connectivity has been established but there is a issue when sending a response.
Awaiting your response.
Thanks
Amit K

Hi Amit,
Seems to be connection is established and the issue is with the response.
Check your communication channel (SOAP) in runtime workbench. Is there any error??
Test your web service (wsdl) using some tool (XML SPY)... Is it returning something?
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. --> Object reference not set to an instance of an object.
Refer the below links:
Receiver SOAP Adapter Problem-soap fault: Server did not recognize the valu
http://sapxitutorials.blogspot.com/2009/11/soap-receiver-error.html
Thanks,

Similar Messages

  • CCX 9.0.2 AXL/SOAP query to CCM

    I am trying to create a script in CCX 9.0 premium ha that can perform an AXL/SOAP query on the CCM 9.1 cluster where CCX is registered. What I am trying to do is replicate the forced auth code functionality for a downstream PBX that is behind an MGCP QSIG gateway. I am collecting digits for the FAC. I want to query the facinfo table on CCM, and then transfer the call if I find a match. I have found a number of SOAP examples, but I am not quite able to connect all the dots. I was trying to do it with a URL document, but that step throws an exception because it doesn't trust the self signed cert from CCM.I get the feeling that this step won't allow me to properly format the SOAP query anyway. I can't imagine I am the first person to ever want to do this, but I haven't been able to find anything. I so wish I could just make a JDBC connection to CCM...

    Based on Aaron's comments, I decided to try and adapt/bludgeon the UCMGetUserByExtension java class from Tanner Ezell. I would cite the article number where he posted that, but I can't find it.
    Big disclaimer here. I used to do some C development 15+ years ago, but I have never done Java. I realize that makes me a total neophyte, so I apologize in advance if my questions are overly simple.
    I am trying just to recompile the original source and the current javac (jdk-7u67-windows-i586) is throwing an error. Here is the code block in question exactly as it was formatted in the original JAR file:
          UCMGetUserByExtension localUCMGetUserByExtension = new UCMGetUserByExtension(); UCMGetUserByExtension
            tmp397_395 = localUCMGetUserByExtension;tmp397_395.getClass();localObject1 = new UCMGetUserByExtension.MyTrustManager(tmp397_395);
          TrustManager[] arrayOfTrustManager = { localObject1 };
    The error I get from javac is as follows:
    z:UCMGetUserByExtension.java:56: error: non-static variable this cannot be referenced from a static context
            tmp397_395 = localUCMGetUserByExtension;tmp397_395.getClass();localObjec
    t1 = new UCMGetUserByExtension.MyTrustManager(tmp397_395);
         ^
    z:UCMGetUserByExtension.java:57: error: cannot find symbol
          TrustManager[] arrayOfTrustManager = { localObject1 };
                                                 ^
      symbol:   variable localObject1
      location: class UCMGetUserByExtension
    3 errors
    2 warnings
    I tried defining localObject1 instead as "UCMGetUserByExtension localObject1", but then I get this error "non-static variable this cannot be referenced from a static context". I found some articles on stackoverflow, so I redefined MyTrustManager as "static public class" instead of just "public class", but that caused this error "constructor MyTrustManager in class MyTrustManager cannot be applied to given types". I feel pretty certain that is fairly elementary java data typing, but the answer has eluded me thus far. :-(

  • SSRS Designer - XML Datasource - Parameter passing XML gets encoded, causes error on WS Request

    Hello,
    I am attempting to query a List from SharePoint using the XML Datasource. I am forced to use this datasource as our infrastructure team will not be upgrading our SSRS 2008 farm to SSRS 2008 R2 anytime soon. 2008 R2 has Native SharePoint
    List Datasources ( which works great FYI ). I already completed the report using the Native SP List DS, only to find out that my timing was not so great as 2008 R2 was not in production yet... /sigh, communication... anyways...
    I have successfully queried the List using the XML Datasource. It is only when I try to use the CAML query in the query parameter that it fails. So, here is my Query:
    <Query>
    <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
    <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems">
    <Parameters>
    <Parameter Name="listName">
    <DefaultValue>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</DefaultValue>
    </Parameter>
    <Parameter Name="query">
    <DefaultValue>
    <Query>
    <Where>
    <Gt>
    <FieldRef Name="Modified" />
    <Value Type="DateTime">2011-03-01</Value>
    </Gt>
    </Where>
    </Query>
    </DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <ElementPath IgnoreNamespaces="True">*</ElementPath>
    </Query>
    I will be replacing that hard date with something like =DateAdd("d",-7,Now()) later, but focusing on the task at hand...
    Here is the error ( trimmed so you don't need to read the whole stack ):
    <soap:Body>
    <soap:Fault>
    <faultcode>soap:Server</faultcode>
    <faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.</faultstring>
    <detail>
    <errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;Query&gt; of parameter query is missing or invalid.</errorstring>
    <errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode>
    </detail>
    </soap:Fault>
    </soap:Body>
    The key to that error is:  Element &lt;Query&gt; of parameter query is missing or invalid.
    So I see that it is being encoded, so I decided to capture the actual Webservice request with Fiddler:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <query>
    &lt;Query&gt;
    &lt;Where&gt;
    &lt;Gt&gt;
    &lt;FieldRef Name="Modified" /&gt;
    &lt;Value Type="DateTime"&gt;2011-03-01&lt;/Value&gt;
    &lt;/Gt&gt;
    &lt;/Where&gt;
    &lt;/Query&gt;
    </query>
    <listName>{DD3DE881-1F9D-4016-AD73-F7E1D9340880}</listName>
    </GetListItems>
    </soap:Body>
    </soap:Envelope>
    So now that we know that somehow the XML parameter of "query" is being encoded. How do I tell the SSRS designer that for this XML datasource's dataset query, I do not wish to encode that parameter?  I have searched all day today and came up with
    very little. I found a few posts with a simliar question, but no solution was ever mentioned.
    The closest to a likely solution was this Post :
    http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/8a9ba2fc-26cd-423e-bbbf-a16b5c9722f5/
    in particular this phrase interested me:
    "Query parameters of type Msxml2.DOMDocument30 are passed as XML. Parameters of type String which happen to contain XML are passed as strings and are XML encoded in the SOAP message. The function CXml(String) converts a string
    into an Msxml2.DOMDocument30 and can be used in query parameter expressions."
    Similar to the poster of that question, I also cannot find a way to define the parameter as an XML type or the use of this mysterious CXML() function in the expression builder...
    I'm looking for a Microsoft resource to tell me whats going on here, but if anyone else has a workaround or an idea, I would be happy to try it out.
    Regards,
    -Ryan, Solution Architect

    Hi Ryan,
    Thanks for your question, from your statement, it seems that you want to give a default value for the parameter named query, right? If so I would recommend you achieve this requirement in report level, please follow these:
    1. Create a parameter named Date, select Date/Time as data type.
    2. Move to Default values tab, then click Add button ->type in  =DateAdd("d",-7,Now())  as defult value's expression.
    3. Right-cilck the dataset, and then select DataSet properties.
    4. Move to Filters tab, click add button to add a filter.
    5. In the drop-down list of Expression, select Modified datefield with Date/Time datatype.
    6. Type in =Parameters!Date.Value in value's textbox.
    Similar thread, please get a reference from this
    http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/24d30b00-139e-4487-9fb1-02f460b432f9
    If you have any question, please feel free to ask.
    Thanks,
    Challen Fu 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Event handler for STDIN input?

    Hi,
    This question will probably require a bit of context - I'm attempting to re-implement in java an application that's currently written in perl. The application is a server helper app that rewriters urls; it receives a request ID and a URL on stdin, does the necessary munging (which can require an external SOAP query), then returns the resulting rewritten URL.
    Since the results can be asynchronous due to the need for external queries to build the result, this is currently a multithreaded perl app implemented using perl's POE framework to register an event handler for stdin. That handler fires each time a line of input is received, then feeds the query to a thread pool manager (POE::Component::Pool::Thread, which is conceptually similar to the Executor frameworks). The thread returns the result as a callback registered to another function in the main thread, which then populates the query/result to a cache then outputs the result (with the original query ID) on stdout. Since stdin input and the result callbacks are event-driven, there's no while(true) main loop or other blocking mechanism in the main thread. Unfortunately, it's perl-ness is causing problems due to perl's threading implementation (three words: "copy on init"), so we need to reimplement in a language with a more robust threading implementation (preferably one with copy-on-write for shared objects). So, Java it is.
    So far everything's been good - Executor, Callables, and Futures work as I hoped they would for proper thread management, and the internal worker thread logic (XML processing, SOAP, regular expressions, etc) is proving rather simple to adapt. However, the main roadblock I'm hitting is that so far, I have not found a way to register any sort of event handler for STDIN input (or more specifically, InputStreamReader/BufferedStreamReader events). This could be due to search engine pollution - everything I see when I search for documentation on event listeners appears to be GUI-specific (buttons, menus, text areas/forms, etc). I'm just looking for a way to handle a line of STDIN, not a text area on a form.
    Any pointers in the right direction will be much appreciated!

    rekoil wrote:
    Maybe I need to rethink the design here...
    The main reason I used a callback in the original perl is that there's a large cache structure that gets checked before the thread dispatch, and only cache misses get pushed to a thread for processing. Callbacks from the threads will then add its results to the cache. Thanks to perl's thread model, when I attempted to make the cache a shared structure - in perl, you have to explicitly mark as "shared" variables that you want visible to all threads - the structure wound up getting copied to every thread, and this gave the app an unacceptable memory footprint. So the solution was to use a callback in the main thread to update the cache.
    I'm now thinking that if Java's thread model is a bit saner (i.e. a shared object doesn't get copied into every thread), then I could just have each thread update the cache, print its output to STDOUT directly, and avoid the need for the callback. I can then make my input loop simply a while() loop, waiting for the next input to dispatch. Sound sane?Yes I think so.
    There is some of this I still don't entirely understand. Your loop sounds better now but it sounds to me like the process is this.
    1) read from in
    2) call some stuff on the basis of what came in
    3) do work
    4) workers produce things
    5) things written back out
    6) read back in??
    If you're just going in/out then great. If you are going in/out/in then maybe some sort of PipedInput/Output Streams? It may well be that I got lost in your explanation in which case never mind.

  • Web Application to Web Service Scenario

    Hi All.
    The following is the scenario:
    Sender: Web Application
    Receiver: Web Service
    Adapters To be used:
    Sender Adapter: HTTP
    Receiver Adapter: SOAP
    Query:
    1. What will be the TS type in the SLD? Standalone Java or WebAS Java? Or, do we need SLD entries at all?
    Thanks,
    Anindita

    Banik,
    You need SLD entries. You can have one third party business system for both of them also. It also depends upon the clients requirements and naming standards.
    Regards,
    ---Satish

  • JSR172 or HttpConnection error

    Hello,
    I use a J2ME application as webservice client with JSR172 Webservice API support. When I try to send a large String with more than 1680 characters to webserver I get a java.rmi.MarshalException: SAXParseException and the message has not received the server. Maybe there is some limit in length?
    To check it out I try to build the soap query manually and send it over a httpConnection with POST to webserver (without JSR172). Now I get the result "Bad Request". The string contains only normal characters.
    Any idea why this happens? I can say that the webserver has no error.
    Thanks for reply.
    Background:
    I try to send a picture as base64String manually encoded to webserver. This is the reason for the long string. The support or byte[] in stub generator seems not to work correct.

    Guys I finally managed to get a HTTP connection working on my P900. The problem was to do with my Mobile Network SP. It seems that they are limited in intelligence so when you say that you want access to the internet they will set you up to go to a WAP gateway which translates your requests and responses for your handset. I kept getting a -36 Symbian OS error which implied that the connection was being cut, since a the host name was resolved. After I had argued with the Data Support people for my network, explaining to them that WAP is not the a full Internet access, they finally managed to give me the right dns etc entries and my application was successfully able to communicate.
    Hope this helps, I have another problem to do with installing the same applications on the P900i but I will leave that for another forum :)

  • Webservice with attachemnts

    Hi,
    I want to develop a scenario like below
    1. When IDOC is triggered from R/3 then XI should get the IDOC data and pass the data as an attachment to the webservice
    2. Get the response from the webservice and if there is any failure send the error details as mail.
    Is this scenario can be acheived with out BPM since its an synchronous one and we have to actually trigger mail based on the response returned from Webservice.
    In the WSDL file which we have received, is having the below structure
    <soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ueb="Interface1">
    <soapenv:Header/>
    <soapenv:Body>
    <ueb:Publish>
    <aClientId>TEST</aClientId>
    <aUser>test</aUser>
    <aPassword>****</aPassword>
    <aDomain>test</aDomain>
    <aApplication>AP</aApplication>
    <aSchema>ORDERS</aSchema>
    <aDestination>Target</aDestination>
    <aReference>1111</aReference>
    <aMessage>cid:testfile.txt</aMessage>
    <aMessageFormat>10</aMessageFormat>
    <aDuplicates>0</aDuplicates>
    </ueb:Publish>
    </soapenv:Body>
    </soapenv:Envelope>
    Please suggest how can i send with attachments to Webservice.
    Thanks..
    Dinesh

    Hi Abshikek,
    Thanx for your quick response...This is WSDL file we have got from user
    By assigning IDOC data to "aMessage" field and checking the "Keep Attachments" option in SOAP receiver adapter, XI will be able to send as attachments?
    Actually 3rd party have given a sample soap query where they are assigning value as given below
    <aMessage>cid:file.txt</aMessage>
    Please suggest us?
    <definitions
         name="UPSRInterfaceServiceName"
         targetNamespace="UPSRInterface"
         xmlns:tns="UPSRInterface"
         xmlns="http://schemas.xmlsoap.org/wsdl/"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
      <message name="TPSRInterface_CalcWS">
        <part name="aClientId" type="xsd:string"/>
        <part name="aUser" type="xsd:string"/>
        <part name="aPassword" type="xsd:string"/>
        <part name="aDomain" type="xsd:string"/>
        <part name="aApplication" type="xsd:string"/>
        <part name="aSchema" type="xsd:string"/>
        <part name="aDestination" type="xsd:string"/>
        <part name="aReference" type="xsd:string"/>
        <part name="aMessage" type="xsd:string"/>
        <part name="aMessageFormat" type="xsd:int"/>
        <part name="aDuplicates" type="xsd:int"/>
      </message>     
      <message name="TPSRInterface_CalcWSResponse">
        <part name="return" type="xsd:string"/>
      </message>
      <portType name="UPSRInterfacePortType">
        <operation name="TPSRInterface_CalcWS">
          <input message="tns:TPSRInterface_CalcWS"/>
          <output message="tns:TPSRInterface_CalcWSResponse"/>
        </operation>
      </portType>
      <binding name="UPSRInterfacPSRnding" type="tns:UPSRInterfacePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
        <operation name="TPSRInterface_CalcWS">
          <soap:operation soapAction="urn:UPSRInterface#TPSRInterface_CalcWS" style="rpc"/>
          <input>
            <soap:body use="literal" namespace="UPSRInterface" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
          </input>
          <output>
            <soap:body use="literal" namespace="UPSRInterface" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
          </output>
        </operation>
      </binding>
      <service name="UPSRInterfaceService">
        <port name="UPSRInterfacePort" binding="tns:UPSRInterfacPSRnding">
          <soap:address location="https://testserver.com:9000"/>
        </port>
      </service>
    </definitions>
    Thanks & Regards,
    Dinesh

  • I get "Bad endPoint type" only on the server

    I have a fairly simple program that receives JMS messages from an external queue and compiles the message into a SOAP query to a BPEL process. The Oracle App server & BPEL process is running on a Solaris system. I'm running 10.1.2 for the moment.
    If I run my program on my windows developer's box, it receives the JMS message and successfully invokes the BPEL process on the BPEL App server thru the SOAP message.
    If I install the same jars and configuration files on the Solaris box which hosts the BPEL App server, I get a "Bad endPoint type" exception(com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl) when I attempt to send the SOAP message to the server.
    JAXM Exception; MSG: Bad endPoint type http://{url:port/orabpel/process}
    What could be different? I know the VMs are different, but they are both of the 1.6 series. There must be some other issue, but I do not know where to look. I have verified it is the same URL string used in either case.

    This turns out to be an issue between running under java 1.5 or java 1.6. I can make the windows box have the same Bad Endpoint Type failure when running under the 1.6 VM. There must be a miss-match of jars when 1.6 is used since it has the SOAPConnectionFactory, etc... in its release while 1.5 relies entirely on the axis-saaj jar.
    Has anyone had any experience with the transition from 1.5 to 1.6 and axis-saaj causing problems?

  • Custom code does not work

    Hi all,
    I'm a newbie of SMP and SCN. I sincerely respect SMP leaders who posted nice blog.
    I’d like to know how can I process the request (the number of customers) from client application to SOAP request.
    My requirement is to connect SOAP WebService to client with Integration Gateway in SMP3 SP06.
    SOAP service is provided by RFC. I checked the following blog and created function module.
    http://scn.sap.com/docs/DOC-28582
    This function module can input customer code (optional) and the number of entities to output customer information such as customer code, name, address, country, postal code and city.
    I have configured SOAP WebServices with Integration Gateway in SMP3 SP06.
    http://scn.sap.com/people/marvin.hoffmann/blog/2014/03/15/how-to-connect-soap-webservices-with-integration-gateway-in-smp3
    OData looks like this:
    Operation is Query and Response Mapping is defined as below:
    At that time, I couldn’t see the Service Document of my OData service. So I added custom script to pass the Basic Authorization and input parameter.
    http://scn.sap.com/docs/DOC-58551
    Basic Authorization is working but the request
    parentMap.put(“IM_COUNT”, “5”) [the number of customer from FM]
    does not work. I thought I could see 5 customers information in the service document but I could see all the customers information.
    In addition, When I click on ”Define Request Mapping”,  eclipse says "Request mapping is not available for SOAP Query.”
    How do I implement my request successfully?
    Thanks,
    Hanae

    Hi Midhun,
    thank you for your quick response!
    I have already used SOAPUI to test my query.
    >it's creating an xml file in a specific format where you need to pass values to get the output.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
       <soapenv:Header/>
       <soapenv:Body>
          <urn:ZGetcustomerWebservice>
             <!--Optional:-->
             <ImCount>5</ImCount>
             <!--Optional:-->
             <ImKunnr>
                <!--Zero or more repetitions:-->
             </ImKunnr>
          </urn:ZGetcustomerWebservice>
       </soapenv:Body>
    </soapenv:Envelope>
    Is this the xml file you mentioned?
    I checked the following blog and tried debugging, but I couldn't see any variables value...
    Debugging Custom Script in Integration Gateway
    Here is my custom code:
    function processRequestData(message) {
       message.setHeader("Authorization", "Basic XXXXXXXX=");
       importPackage(com.sap.gateway.ip.core.customdev.logging);
       importPackage(com.sap.gateway.ip.core.customdev.util);
       importPackage(org.apache.olingo.odata2.api.uri);
       importPackage(java.util);
       importPackage(com.sap.gateway.core.ip.component.commons);
       importPackage(com.sap.gateway.ip.core.customdev.api);
       parentMap = new LinkedHashMap();
       parentMap.put("IM_COUNT", "5");
       //Set the message body back
       message.setBody(parentMap);
       //Logger
       importPackage (com.sap.gateway.ip.core.customdev.logging);
       log.logErrors(LogMessage.TechnicalError, "This is first log"+message.getBody().toString());
      return message;
    Authorization is perfectly working but others are not.
    It would be great if you could have suggestions.
    BR,
    Hanae

  • Informix queries via ODBC

    Hello,
         A while ago I set upon configuring a Debian server to use ODBC and PDO to query our CUCCX server for use as a basic wallboard.  I got it working and would now like to extend this our CUCM publisher.  For CUCCX, the DB Schema document was very valuable because it gave information on the database name as well as a pretty thorough description of the tables.  I'm looking for the same information for CUCM.  I've read some of the CUCM Data Dictionary, but I still have questions on how to find the relevant information for the DSN.
        So, for the CUCCX Wallboard project, one roadblock was in adding the Informix servername to the DSN.  There are certain rules, such as hyphens are turned into underscores, etc.  For CUCM, I cut to the chase and pulled a db replication trace to look at what Informix server names were being used, but I would like a verification to make sure I am on the right track.  Server names seem to prepended with a "g" and the version number of the server seems to be appended as well, so;
    Servername:
    abc-011-c78-vs01
    Informix server name:
    g_abc_011_c78_vs01_ccm8_6_1_20000_1
    Does this look correct?
    Also, for UCCX, there is a default ucchruser account that is used for the purpose of DB queries.  What kind of account should I create to do this?  What kind of rights role should it have?
    What is the database name on CUCM that I can add to the DSN?  Is there a document like the UCCX DB Schema doc that I can use?  Any help is very much appreciated.

    Hi William,
         I spent more time on your site and I must confess it's very cool.  Lots of really good information on there.  So, update to my query situation;  I've figured out the SQL string I should run to get the information I'm looking for;
    run sql car select datetimeOrigination, dateTimeConnect, dateTimeDisconnect, callingPartyNumber, finalCalledPartyNumber from tbl_billing_data where finalCalledPartyNumber like 'XXXXX' or callingpartynumber like 'XXXXX' order by datetimeOrigination
    I understand that this statement will proabably not do me much good in rendering the information to a web page, but it's a start.  I also found some PHP code that will use AXL, a gentleman had posted it here;
    http://ict-all.blogspot.com/2011/04/accessing-ccm-soapaxl-interface.html
    But the link he's using in this example is https:///realtimeservice/services/RisPort?wsdl, which I do not believe will work for CDR queries.  My understanding is that I need to use
    https://
    I'm not sure what the port 8443 reference is for since it seems to work without it.
    So, my guess is that I should be using the second link for CDR queries. 
    Does the account used in the AXL query only need the Standard AXL API Access role?  I seem to be pulling information when my account is using Super User, but not when using an account that only has the Standard AXL API Access role (not sure if I need to add another role to the group).  Beyond that, do you have a tutorial on how to put together a SOAP query for this kind of situation? 

  • Probleme with string encoding

       Hello,
    I have an application in Flex3 and when I send an Soap Query, I have a corect enveloppe,
    but when I try the same code in Flex 4, the sting is encoding :
    exemple :
    Flex 3 :
      <ns1:orderLine>
          <ns1:line_nr>2</ns1:line_nr>
          <ns1:productCode>7443</ns1:productCode>
          <ns1:quantity>20</ns1:quantity>
         </ns1:orderLine>
    Flex 4 :
      <ns1:orderLine>
          <ns1:line_nr>1</ns1:line_nr>
          <ns1:productCode>&lt;productCode xmlns=&quot;http://emt.netsoa.netinfluence.com/types/order">7505</productCode></ns1:productCode>
          <ns1:quantity>20</ns1:quantity>
         </ns1:orderLine>
    The integer is correct, but the string fail.
    How can i correct this ?
    Jean

    Your flex 4 response is translated as below after replacing reserved xml characters.  -
      <ns1:orderLine>
          <ns1:line_nr>1</ns1:line_nr>
          <ns1:productCode><productCode xmlns="http://emt.netsoa.netinfluence.com/types/order">7505</productCode></ns1:productCode>
          <ns1:quantity>20</ns1:quantity>
         </ns1:orderLine>
    its strange that a productCode element came under the productCode element itself. Can you check if this was possibly due to the server returning a malformed response. help in this link -
    http://anirudhs.chaosnet.org/blog/2009.06.01.html
    I can analyze this if you provide the soap packet dumps

  • SOAP web service: query parameter?

    Hi guys,
    I'm a newbie when it comes to web services and I've hit a problem that I didn't expect. I've exposed several SOAP services using the JAX-WS and WebLogic which are working fine. I've tried implementing an access key security mechanism such as Amazon does by adding a filter in front of the service's handling servlet to check for an access key sent as an HTTP query parameter. So basically, the service that was exposed at the following URL:
    http://localhost/company/service
    must now be accessed using the following URL:
    http://localhost/company/service?accessKey=123
    The filter checks the accessKey parameter and short-circuits the request if the wrong access key is sent.
    While this approach works well with JAX-RS web services, it doesn't seem to be working as well with JAX-WS web services: adding the parameter makes WebLogic return a 404 error instead of processing the request. I'm convinced I've seen web services being called with query parameters and that this can be done, but I don't see how. Any ideas anyone?
    Cheers!

    It seems that the servlet generated by Workshop doesn't handle extra parameters too well. I've managed to get it working by tweaking the filter so that it lets WSDL retrieval requests pass through but still filters the other requests. Everything is working fine.

  • Reading parameters from Query string : Sender SOAP adapter.

    Hello Experts,
    I have a SOAP to SOAP scenario. Here we will have multiple receivers and dynamic receiver determination is needed.
    The sender will send a Value in Query string of URL to sender SOAP adapter. This value in Query string parameter will decide the receiver at runtime.
    I need to know, how can we read values from Query string of incoming call? I did tried to search blogs & forum threads but unfortunately not able to hit the right links.
    Any inputs will be of great help.
    Should i use "Use Query String" on sender soap channel? I tried it, but i was not able to find any query string parameters in SOAP header or payload.
    Please guide me, its bit urgent.
    Regards,
    Abhi.

    > But the argument provided from their side is: They are using standard XSD and this service is provided out of box with sender application.
    If they can add a URL parameter, they can also add a field to the structure.
    > They cant control the value mapping of parameters in payload to the extent required to implement this change.
    Adding a new field to the structure would not affect any existing mapping.
    > Since they have this custom requirement of multiple receivers & receiver to be determined at runtime, they need to go for Query string.
    This can be done based on any field of the payload.
    > I need to find a way to read the query string in any case.
    This is not supported by SOAP adapter.
    > Can I use one of the header parameters to be mapped to this value  (By selecting "Use Query string" & "Keep Headers" flag in sender CC) & then extract this value from header using Dynamic configuration ?
    This feature works only for XI header fields, like message ID or QoS.
    Not for individual parameters.

  • Query PI 7.1 - Sender SOAP Adpater & Testing

    Hi,
    I have SOAP to RFC scenario. My client (3rd Party)  has provided me below webservice :-
    ---> http://115.119.23.132/sapwebservice/service.asmx?op=save_so
    --> I have Import the WSDL file as external definitions, Created an Service Interface u2013 Outbound with external Message .
    I have two Queries :-
    1. In 7.1, Sender SOAP Configuration, there is no option like (below) that we had in 3.0 & 7.0
    u2022         Use Query String
                   Daflault XI Parameters
           Default Interface Namespace
           Default Interface Name  
    How to link the scneario with Interface (ESR) ?
    2. How to Test this scenario ?
    Thanks.

    Hi Anshul,
    --> If the client is providing the WSDL file they are consider as the service provider.So you need to consume the webservice using PI.
    -->For consuming the Webservice you need to configure the receiver SOAP Adapter where you have to provide the SOAP Action and Target URL in the receiver CC.
    -->In the PI 7.1 sender soap adapter will not have all the parameters like PI7.0,WSDL will be generated based on the sender agreement which is not there in PI7.0.Since from PI7.1 we have the concept of multiple operations.
    -->
    Please re-check your interface designing,as per view it would be like
          SAP System (RFC Adapter)-->PI7.1--->Third Party Webservice(Receiver SOAP Adapter)
    Thanks

  • Soap adapter query string

    Sending Soap adapter question
    If the message id is duplicate , the message is rejected?
    How does the Query string look?
    thanks
    kumar

    Hi Kumar,
    the query string is
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    The message ID is give by XI, it is allways unique.
    Have a look to <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm">Configuring the Sender SOAP Adapter</a>
    Regards,
    Udo

Maybe you are looking for

  • [Patch 정보] TRACKING BUG FOR CUMULATIVE MLR#6 ON TOP OF BPEL PM 10.1.3.3.1

    최근에 출시된 BPEL PM 10.1.3.3.1의 통합패치입니다. 아래는 readme.txt에 포함된 patch list입니다. # WARNING: Failure to carefully read and understand these requirements may # result in your applying a patch that can cause your Oracle Server to # malfunction, including interru

  • Delete Subledger journal

    We deleted a Subledger journal (posting from FA) in our GL in error.  Create accounting was run in Final mode with posting to GL enabled (but not posting of the journal) in FA. Since the journal is deleted, and accounting already created, how do we '

  • Displaying Image Problem

    Hello, I need some advice. I have an existing java application that I am trying to convert into a portlet. The application is a directory search of people on campus. The only catch is that I am displaying their photo that is stored on a windows share

  • Download purchased music again

    I have tried to download previously downloaded music from itunes based on article: http://support.apple.com/kb/HT2519 But the choice Purchase dos not appera on my IPhone 3 Any ideas?

  • Validation to Identify Duplicate Descriptions in DRM

    I am wanting to add a verification to keep us from creating a new node with a description that already exists. I have created other verifications successfully, but I'm not sure what query/property combination can identify if a description is already