Webservice messages

Hi Guys,
I couldn't see the messages sent from a webservice in SXMB_MONI. I have tested my interface successfully at Runtim Work Bench -->Component Monitoring --> Adapter Engine -->Test Message. Any ideas how to trouble shoot? Is there any batch job required to set up so that messages from webservice will  be picked up and processed?
Regards,
Ram.

Hi Rams,
Please set these parameters and give a try:
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
Also you said that you are posting from adapter engine to XI. I think you should post to integration engine not to adapter engine. If you post to adatper engine I think you will get 403 error. So please try to post to integration engine.
Regards,
---Satish

Similar Messages

  • Mapping between XI message (XSD) and the webservice message

    HI Gurus,
    I am trying to send a message from XI to webservices. In the mapping my source message (xi message) has multi nodes in it. How can I map this structure to webservices? I cannot map them to the arraylist (defined as parameter in the webservices).
    I am trying to write a UDF to read the XSD schema message and map that into the arraylist of the webservice.
    Any ideas please?
    Thanks
    Kalyan

    Suraj,
    Source message  (XI message)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:CustomerCreateResp xmlns:ns0="pr5:100">
       <CUSTOMER>
          <item>
             <CUSTOMERNO/>
             <MDMCUSTOMER/>
             <CREATE_DATE/>
             <RETURN>
                <TYPE/>
                <MESSAGE/>
             </RETURN>
             <PT_CONTPART_RETURN>
                <item>
                   <MDM_CONTACT/>
                   <CONTACT/>
                </item>
             </PT_CONTPART_RETURN>
             <PARTNERS>
                <item>
                   <CUSTOMERNO/>
                   <PARTNER_FUNCTION/>
                   <PARTNER_NUMBER/>
                   <DEFAULT_PARTNER/>
                </item>
             </PARTNERS>
          </item>
       </CUSTOMER>
    </ns0:CustomerCreateResp>
    Target message (webservices message)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:updateCustomer xmlns:ns1="urn:xiSericeVi"><ns1:customer><ns2:ArrayList xmlns:ns2="java:sap/standard">[]</ns2:ArrayList></ns1:customer><ns1:name></ns1:name></ns1:updateCustomer>
    The target message has arraylist type parameter. I am trying to read the XI message and map it to the arraylist.
    Thanks
    Kalyan

  • RFC- XI- WebService messages not showing up in Monitor

    Have a working RFC->XI->WebService synchronous scenario working but for some reason I cannot see any of the messages in the monitor(SXMB_MONI). I can see them in the runtime workbench.
    It does show the messages when there's a failure however. But when it works fine, you only see in the RWB.
    Any particular reason this can occur??

    that's whats getting me... there is no problem when there's no message and there is a problem when there is.. let me give an example..
    before I had this working, i had the wrong URL for the web service... when i ran the scenario i saw entries in the monitor..
    after i fixed the URL and re-ran the scenario, it successfully invoked the WS and returned a value to the RFC.. however, there was no record of this in SXMB_MONI at all... you did see it in the RWB..

  • Message webservice example

    Hi
    I 'm trying to test a message web service example on WLS6.1 SP1
    but, the following error in ProducerClient.
    somedoby knows that?
    Exception in thread "main" javax.naming.NamingException: i/o failed
    java.io.IOEx
    ception: http://xml.apache.org/xml-soap/literalxml
    http://schemas.xmlsoap.org/so
    ap/encoding/:http://www.w3.org/1999/XMLSchema:anyType:No codec for decoding
    http
    ://xml.apache.org/xml-soap/literalxml: [ CodecFactory:
    http://schemas.xmlsoap.or
    g/soap/encoding/=null, =null]. Root exception is java.io.IOException:
    http://xm
    l.apache.org/xml-soap/literalxml
    http://schemas.xmlsoap.org/soap/encoding/:http:
    //www.w3.org/1999/XMLSchema:anyType:No codec for decoding
    http://xml.apache.org/
    xml-soap/literalxml: [ CodecFactory:
    http://schemas.xmlsoap.org/soap/encoding/=n
    ull, =null]
    at weblogic.soap.wsdl.binding.Part.typeToClass(Part.java:74)
    at weblogic.soap.wsdl.binding.Part.toSoapType(Part.java:51)
    at
    weblogic.soap.wsdl.binding.Message.getParameters(Message.java:43)
    at
    weblogic.soap.wsdl.binding.BindingOperation.populate(BindingOperation.java:5
    5)
    at weblogic.soap.wsdl.binding.Binding.populate(Binding.java:48)
    at
    weblogic.soap.wsdl.binding.Definition.populate(Definition.java:116)
    at
    weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:176)
    at weblogic.soap.http.SoapContext.lookup(SoapContext.java:76)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at
    examples.webservices.message.ProducerClient.main(ProducerClient.java:48)
    -shunji

    You can try something like this:
    Variables:
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable" messageType="client:BPELProcess1RequestMessage"/>
    <!-- Reference to the message that will be sent back to the requester during callback -->
    <variable name="outputVariable" messageType="client:BPELProcess1ResponseMessage"/>
    </variables>
    Assign:
    <assign name="EmptyAssign">
    <copy>
    <from variable="inputVariable" part="payload" query="/ns1:Balance/ns1:Empty"/>
    <to variable="outputVariable" part="payload" query="/ns1:Balance/ns1:Empty"/>
    </copy>
    </assign>
    The xsd user:
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns:tns="http://xmlns.oracle.com/bpel/samples/Dummy"
    attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/bpel/samples/Dummy"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <element name="Empty"/>
    <element name="Balance">
    <complexType>
    <sequence>
         <element name="Empty"/>
    <element name="Message" type="tns:messageType"/>
    </sequence>
    </complexType>
    </element>
    <complexType name="messageType">
    <sequence>
    <element name="subject" type="xsd:string"/>
    <element name="content" type="xsd:string"/>
    <element name="address" type="xsd:string"/>
    </sequence>
    </complexType>
    </schema>
    ]

  • How to define message without parts in WSDL?

    Hi all,
    I don't know if it is possible, but I would like to create a message without defining part/type.
    Really what I want to accomplish is to avoid the part definition below in my .wsdl file.
    <message name="RCMR_IN000002NR01Input">
    <part name="param0" type="xsd:string"/>
    </message>
    <message name="RCMR_IN000002NR01Output">
    <part name="param0" type="xsd:string"/>
    </message>
    So I would like to something akind to
    <message name="RCMR_IN000002NR01Input">
    </message>
    <message name="RCMR_IN000002NR01Output">
    </message>
    I try to assign a string to RCMR_IN000002NR01Input (I am using rpc literal). At the moment the partnerlink receiving my message gets confused by the param0 part of the XML.
    I hope that description of my issue was not to cryptic to be understandable. Please feel free to ask clarifying questions.
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 8, 2008 8:42 AM
    Maybe I should try to elaborate on my use case.
    I pick up a SOAP message from a JMS queue (well, topic really). The message is a domain specific type. I get the content of the message as a string and assign it to a variable with a param0 of type string.
    I then use the contains function to determine which partnerlink to invoke for a given message.
    The invokation is succesful seen from BPEL.
    However, the receiving systems receives my message including the original SOAP envelope - AND including a new BPEL generated SOAP envelope :-(
    This is addition to the following code which was the concern of my original post:
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="param0">
    <param0 xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema" xsi:type="def:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    So anybody have any ideas as to how to get rid of unnecessary SOAP envelope and that irritating param0?

    Hi again,
    Srin, you were right. I did have a namespace issue. Getting that resolved however, introduced a new error.
    My BPEL process invokes the remote partner, delivers the payload, the remote partner sends back a meaningful response, but no BPEL instance is shown in the BPEL console.
    In the <oracle home>/opmn/logs I find the following errors:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException
    And
    Exception: java.lang.NullPointerException
    Handled As: com.collaxa.cube.CubeException
    +] -> [java.lang.NullPointerException: null]+
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException
    This seems strange to me. It seems that even if the meaningfull answer from the partner link is lost enroute I should still get a response in BPEL (maybe just null). My next step will be to try and set up a TCP Monitor between the partnerlink server and the BPEL server.
    Any thoughts, hints, ideas and solutions are very welcome.
    Will report on progress
    Regard,
    Aagaard
    Edited by: Aagaard on Oct 10, 2008 10:18 AM
    Update:
    My current thinking is that I have a problem with my message types. The problem is definitely in the way BPEL handles the response from the partnerlink. The nullpointer exception may suggest that I am trying to assign the return payload to an incompatible type. I don't know if it could be an issue if the partnerlink response is some specific type while I excpect a string?
    Anyway here's what my wsdl looks like now:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="RCMR_AR000002NR01"
    targetNamespace="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >
    <documentation>
    WSDL for Service: CCSMessageServiceRemote, generated by Oracle WSDL toolkit (version: 1.1)
    </documentation>
    <types>
    <schema targetNamespace="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://com.scandihealth.ccs.webservices.messaging.common/CCSMessageServiceRemote.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <element name="msgInputOutput" type="xsd:string"/>
    </schema>
    </types>
    <message name="RCMR_IN000002NR01InputOutput">
    <part name="param0" element="msgInputOutput"/>
    </message>
    <portType name="CCSMessageServiceRemotePortType">
    <operation name="RCMR_IN000002NR01">
    <input message="tns:RCMR_IN000002NR01InputOutput"/>
    <output message="tns:RCMR_IN000002NR01InputOutput"/>
    </operation>
    </portType>
    <binding name="CCSMessageServiceRemoteBinding" type="tns:CCSMessageServiceRemotePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="RCMR_IN000002NR01">
    <soap:operation soapAction="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote/RCMR_IN000002NR01"/>
    <input>
    <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/literal/" namespace="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote" />
    </input>
    <output>
    <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/literal/" namespace="urn:com-scandihealth-ccs-webservices-messaging-common-CCSMessageServiceRemote"/>
    </output>
    </operation>
    </binding>
    <service name="CCSMessageServiceRemote">
    <port name="CCSMessageServiceRemotePort" binding="tns:CCSMessageServiceRemoteBinding">
    <soap:address location="http://.../HL7Receive_servlet_WS/WS"/>
    </port>
    </service>
    </definitions>
    My assignment / invokation looks like this:
    <assign name="CreateInputParamGenerateMessage">
    <copy>
    <from variable="getContentAsString"/>
    <to variable="RCMR_IN000002NR01Input" part="param0"/>
    </copy>
    </assign>
    <invoke name="InsertOperation"
    partnerLink="RCMR_AR000002NR01"
    portType="ns6:CCSMessageServiceRemotePortType"
    operation="RCMR_IN000002NR01"
    inputVariable="RCMR_IN000002NR01Input"
    outputVariable="RCMR_IN000002NR01Output"/>

  • How can I influence the JAX-RPC response message from a void method

    Hello,
    I used WSDL2Java to create a web service. This service seems to work but the xsi:type="somename" attributes are not included in the response. I want to get them in. Or, otherwise, I want the push webservice just to send an acknowledge message. Because, our client that's pushing the webservice message to us gets error messages.
    But, while the webservice is a push service I don't know how to influence the returning soap envelope. This is the webservice method I mean:
    public void putDatex2Data(eu.datex2.schema._1_0._1_0.holders.D2LogicalModelHolder body) throws java.rmi.RemoteException {
    //the code
    Furthermore, has someone good examples of implementations that help to get the real incoming XML message data in a easy way.
    Thanks.

    No, that's not a feature of the phone.
    You can submit feedback to Apple requesting such a feature here:
    http://www.apple.com/feedback

  • Getting xml webservices using soap on xcode

    there is some error in the code , i dont know how to correct it !! *frustated*
    #import "XYZViewController.h"
    @interface XYZViewController ()
    @end
    @implementation XYZViewController
    @synthesize UserName,Password;
    #define startActivityIndicator  [[UIApplication sharedApplication]setNetworkActivityIndicatorVisible:YES]
    #define stopActivityIndicator  [[UIApplication sharedApplication]setNetworkActivityIndicatorVisible:NO];
    // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
        if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
            // Custom initialization
      nodeContent = [[NSMutableString alloc]init];
        return self;
    -(IBAction)invokeService
    if([[UserName text] isEqualToString:@""] || [[Password text] isEqualToString:@""] ) {
            UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"WebService" message:@"Supply Data in UserName or Password field" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"ok",nil];
            [alert show];
        else {
      NSString *soapFormat = [NSString stringWithFormat:@"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
      "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
      "<soap:Body>\n"
                                    "<UserAuthentication xmlns=\"http://tempuri.org/\">\n"
                                    "<UserName>%@</UserName>"
                                    "<Password>%@</Password>"
                                    "</UserAuthentication>"
                                    "</soap:Body>"
                                    "</soap:Envelope>", UserName, Password];
      NSLog(@"The request format is %@",soapFormat);
      NSURL *locationOfWebService = [NSURL URLWithString:@"http://10.146.89.22/userauth/Service.asmx"];
      NSLog(@"web url = %@",locationOfWebService);
      NSMutableURLRequest *theRequest = [[NSMutableURLRequest alloc]initWithURL:locationOfWebService];
      NSString *msgLength = [NSString stringWithFormat:@"%d",[soapFormat length]];
      [theRequest addValue:@"text/xml" forHTTPHeaderField:@"Content-Type"];
      [theRequest addValue:@"http://tempuri.org/UserAuthentication" forHTTPHeaderField:@"SOAPAction"];
      [theRequest addValue:msgLength forHTTPHeaderField:@"Content-Length"];
      [theRequest setHTTPMethod:@"POST"];
            [theRequest setHTTPBody: [soapFormat dataUsingEncoding:NSUTF8StringEncoding]];
      //the below encoding is used to send data over the net
      [theRequest setHTTPBody:[soapFormat dataUsingEncoding:NSUTF8StringEncoding]];
      NSURLConnection *connect = [[NSURLConnection alloc]initWithRequest:theRequest delegate:self];
      if (connect) {
      webData = [[NSMutableData alloc]init];
                startActivityIndicator;
      else {
      NSLog(@"No Connection established");
    //NSURLConnection delegate method
    -(void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response
      [webData setLength: 0];
    -(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data
      [webData appendData:data];
    -(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error
    NSLog(@"ERROR with theConenction");
    -(void)connectionDidFinishLoading:(NSURLConnection *)connection
    NSLog(@"DONE. Received Bytes: %d", [webData length]);
    NSString *theXML = [[NSString alloc] initWithBytes: [webData mutableBytes] length:[webData length] encoding:NSUTF8StringEncoding];
      NSLog(@"%@",theXML);
    xmlParser = [[NSXMLParser alloc]initWithData:webData];
      [xmlParser setDelegate: self];
    //[xmlParser setShouldResolveExternalEntities: YES];
      [xmlParser parse];
    //[webData release];
    //[resultTable reloadData];
        stopActivityIndicator;
    //xml delegates
    - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qualifiedName attributes:(NSDictionary *)attributeDict
    - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string
      [nodeContent appendString:[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
    - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName
    if ([elementName isEqualToString:@"UserAuthenticationResult"]) {
      UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Message" message:@"you have entered!" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"ok",nil];
                [alert show];
        }/*else {
            UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Message" message:@"you have not entered!" delegate:nil cancelButtonTitle:nil otherButtonTitles:@"ok",nil];
      [alert show];
    - (void)viewDidUnload {
        [super viewDidUnload];
        // Release any retained subviews of the main view.
        // e.g. self.myOutlet = nil;
    -(IBAction)goAwayKeyboard:(id)sender{
        [sender resignFirstResponder];
    -(IBAction)tapBackground:(id)sender{
        [UserName resignFirstResponder];
        [Password resignFirstResponder];
    @end

    sir , i didnt wanna offend you with this stupid question of mine ,moreover i didnt know if noobs ask some question pros really get angry, but i am really new to this thing, *sorry*.
    theres some problem with userauthenticationresult , i am not able to connect , how to return its value ! 

  • Webservice - RFC

    Hello,
    I would like to establish a web service that is able to call the RFC BAPI_DOCUMENT_CREATE2 and send back the created DIS number. How have to look the integration process like?
    I created a file->rfc->file process with a integration process like :
    Receiver : async (from source file)
    Sender :   synchronous (to rfc and back)
    Sender :   async (to destination file)
    But how to for the Webservice -> RFC process? Like this:
    receiver : synchronous (from web service and back)
    sender   : synchronous (to rfc and back)
    Is this correct? Or must the receiver be asynchronous?
    If so, do I have to include an additional sender step at the end??
    Thanks
    chris

    Once again a inventory:
    Design:
    ========
    Data-Types:
    DT_Input
    DT_Output
    Message-Types:
    MT_Input - takes information from webservice
    MT_output- repsonse from bapi to webservice
    message-interface
    MI_RFC_CALL_SYNC_OUT - outbound for webservice
    do I need a second one here?
    Message-Mapping
    Webservice_to_RFC - maps infos from MT_input message to bapi
    RFC_to_Webservice - maps bapi.response to MT_output
    Interface-Mapping
    IM_Webservice_RFC - maps request and response
    RFC:
    BAPI_DOCUMENT_CREATE2 - imported BAPI
    Config:
    ========
    communication channel
    Send_SOAP - input for soap messages
    receiver_RFC - for connection with SAP
    Do I forget anything? With this I got a checked
    flag, but no document is created.
    Could it be that the original BAPI only runs test mode
    and I need a wrapper to execute it?????
    thanks

  • Error generating/activating WebService BW DataSource

    Hello,
    I created a BW DataSource using WebService in BI7 and I got the following errors when trying to activate it.
    Error generating Web service /BIC/CQZBRSDAT00001000
    Message no. RSDS301
    Error when activating DataSource ZBRSDATA                      WEBSERVICE
    Message no. RSO404
    Could anyone please advise for any inputs/tips for the issue? I found below two threads but the OSS Note 913944 appreantly does not exist anymore (not sure if it is being removed, updated, etc).
    Web service data source - error RSDS301
    Problems with DataSource Web Service BI 7.0
    Thanks & Regards,
    Andy

    Hello
    We will move this thread to the [SAP NetWeaver BW|SAP Business Warehouse; forum as this is not a PI specific issue. You will have a better chance of getting a quality answer to your query on this forum.
    Regards
    XI/PI Moderator

  • Webservice Synchronous Scenario.

    Hi All,
    I will trying to implement file->webservice->file scenario using the blog.
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    Upto message mapping everything is fine and configured as given in the blog.
    But in Interface mapping , I am not getting response tab where I can specify the message mapping for response data from webservice.
    I am only getting request tab. What could the reason?
    Ranjeet Singh.

    Hi All,
    I tried to configured the scenario as given in link by Raj.
    Description:
    Syn-RFC-Syn-Webservice.
    FILE Request -> webService Request -> webservice resp->File response.
    Both file input and webservice message interface are synchronouos.
    While testing the scenario, my sender file adapter is giving this error.
    Error: com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_webservice;TS=BS_webservice;AN=MI_Request;ANS=http://sap.com/xi/sap
    to dig into the issue,
    Then I tired to implement simple asynchronous scenario.
    Asyn File Request -> Asy webservice.
    I am sending file request to XI. Xi call webservice. End.
    This time scenario ran successfully.
    Then I revert back to my previous configuration of synchronous interfaces and again i got the same error as given above.
    This cannot be CPA cache refresh otherwise secnd scenario should not have run.
    It looks like Module configuration issue. But I have SAP XI 3.0 SP 19 .
    Any idea what is happening inside Adapter engine.
    Ranjeet Singh.

  • Webservice with jaxrpc client stubs : desirialization error

    I am making a call to a session bean on Weblogic with webservice message. I get this error message :
    java.rmi.RemoteException: Runtime exception; nested exception is:
    deserialization error: unexpected XML reader state. expected: END but found: START: load
    at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:255)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:237)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub.getInitializedVitalityEventModel(PremiumPredictorWebservicePort_Stub.java:61)
    at za.co.generic.ist.beans.TestCase.getModelVOFromEngine(TestCase.java:24)
    at za.co.generic.ist.beans.TestCase.main(TestCase.java:28)
    Caused by: deserialization error: unexpected XML reader state. expected: END but found: START: load
    at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:209)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_getInitializedVitalityEventModel_ResponseStruct_SOAPSerializer.doDeserialize(PremiumPredictorWebservicePort_getInitializedVitalityEventModel_ResponseStruct_SOAPSerializer.java:37)
    at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:165)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:115)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub._deserialize_getInitializedVitalityEventModel(PremiumPredictorWebservicePort_Stub.java:110)
    at za.co.generic.ist.beans.PremiumPredictorWebservicePort_Stub._readFirstBodyElement(PremiumPredictorWebservicePort_Stub.java:96)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:168)
    ... 3 more
    Exception in thread "main"
    If you know what this means please help.

    This happens when the order of elements within a SOAPMessage are not received in the proper order.
    Please use a packet sniffer or SOAP monitor to capture the SOAPMessage and make sure that it is
    valid according to the WSDL definition.

  • Example for message-style with Message Driven Bean

    hi,
    Can i have some examples of webservices message-style with
    MDB?....
    thanks

    The current version of the white-paper that Raffi
              refers to covers through 7.0. For 8.1 see also
              http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#accessing_foreign_providers
              and
              http://edocs.bea.com/wls/docs81/jms/j2ee_components.html
              these features can often make integration easier.
              Tom
              Raffi wrote:
              > Doug,
              >
              > You can find very detailed information on this topic at the link below. All
              > you need to do is specify the destination-jndi-name, initial-context-factory,
              > provider-url, and connection-factory-jndi-name in weblogic-ejb-jar.xml for the
              > non-BEA JMS provider for that specific MDB.
              >
              > ftp://edownload:[email protected]/pub/downloads/jmsproviders.pdf
              >
              > Hope that helps!
              >
              > Raffi
              >
              > Doug Chew <[email protected]> wrote:
              >
              >>Can someone give me an example on how to setup a message driven bean
              >>with a foreign JMS provider using the foreign JMS provider's implementation
              >>of a connection factory. i.e. binding the foreign JMS provider's connection
              >>factory to the JNDI tree.
              >>
              >>Thanks
              >
              >
              

  • Webservices on WLI 2.0 (WLPI)

    Hi everyone!,
    I hope somebody can help me with this, very urgent!
    We implement a Workflow using WLI 2.0 (WLPI), on this process we need to call
    a WebService message style on WLS6.1 hosted by another Company. After searching
    for something we found a plug-in (client.jar) to use with Weblogic process integrator
    but this is just for a RPC-style webservice, can anyone have solved something
    like that.
    Could I implement an EJB on the process side that call the webservice without
    compatibility problems.
    Thanks&Regards.
    Mauricio Del Moral

    Hi again,
    The plug-in for WLI2.0 (client) calls RPC-style Webservice on WLS6.1, but at the
    end appears a Java.Lang.NullPointerException.
    Why? This is the 63M dlls question?
    I'm sending the stack trace error on WLPI side.Is important to say that the functionality
    on Webservice (WLS6.1) is done correctly, When Webservice ends and sends SOAP
    message to WLPI this error comes up.
    Thanks&Regards
    Mauricio Del Moral
    [WLI&WS.txt]

  • Problem calling a web service via SOAP ad.

    Hi,
    I need to call a web service in an synchronous RFC to Web service scenario.The provider of service said me that they are going to accept production order with the service they provide. However, service semms to have only 2 request parameters one is a string enumeration ("online" or "offline") but the other has no type. In WSDL it is shown as the following -
    -<s:element minOccurs="0" maxOccurs="1" name="strFilenameOrXML">
    - <s:complexType mixed="true">
    - <s:sequence>
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
    When I try to test the web service with Altova XML Spy it gives me the error "Object reference not set to an instance of an object" .. at StokbarPlus.ProdService.WriteProdToSB(XmlNode strFilenameOrXML, IntegrationType EntegrasyonTip)..
    I guess the service is waiting for a xmlNode object...
    Is it possible to assign an XI message(coming from RFC) as an xmlNode object to an element of a webservice message and send it by using SOAP adapter?.
    I tried send the SOAP message by putting the whole xml(a sample order document) as a string constant in the strFilenameOrXML element and send but it did not work...
    How should I proceed?
    Thanks in advance for your help,
    -Tarik

    Hi,
    Problem is still unsolved.
    By the way I figured out that they are waiting the xml message inside strFilenameOrXML tag and tried to send it so. However it does not work. I have tried two different ways to send it.
    First one is by using messages in WSDL: did not work because special chars like <,> in the message that I am sending in the tag is escaped  .
    The Second way is using the data types that I developed, it did not work too since the receiver expects one of the inner node's namespace prefix to exist.
    I tried exporting the xsd of the message type, adding attributeFormDefault="qualified" to header, and reimporting it. It did not work, because it changes all nodes, but they want some specific node to be qualified.
    Any suggestions?

  • Mapping in BPM: how to merge results of receive steps into send steps

    Hello,
    we need the following BP:
    1. async. Receive Step: receive an IDoc
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure.
    3. Transformation???
    4. async. Send Step: we have to <b>merge</b> and map the Idoc fields and the
    resulting fields of the WebService into the destination structure.
    What are the basic steps and objects therefore?
    IDoc-message            X  --> |
    WebService-message Y  --> |   -->  Z dest-message
    Out problem is, how an where to get access to both Source Messages to merge them for the destiniation message?
    Regards
    Gunnar

    <i>1. async. Receive Step: receive an IDoc
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure.
    3. Transformation???
    4. async. Send Step: we have to merge and map the Idoc fields and the
    resulting fields of the WebService into the destination structure.</i>
    >>>>
    1. async. Receive Step: receive an IDoc - OK
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure. - OK
    3. Transformation - this transformation step will have 2:1 mapping. source would be IDOC and response of WS mapped to result.
    4. async. Send Step: Send the result

Maybe you are looking for

  • How to see data in R/3

    Hi i am unable to see data in R/3. i don't have authorization of RSA3,RSO2,RSA5,RSA6.In my case data is coming through R/3 in BW and there is some problem with data in R/3 so i want to see data in R/3 to findout the problem. I have name of the dataso

  • Can you display info from 2 text fields in 1 other text field in a form?

    Im trying to make a form where you enter an address.  I want that info to display in another part of the same form as well.  When I get to the City and State, I want those to be 2 separate fields where you enter that info.  Down below, I would like t

  • SQL 2012 Memory usage analysis

    We have this clustered SQL Server, win 2008 R2 + SQL 2012 Standard SP2, Server RAM is 64GB, maximum memory is set at 50GB, and minimum memory is set at 10GB. When I check memory usage, it seems CLR takes more memory than Buffer Pool, is it normal? Or

  • Any idea why Filemaker 9 server create errors in Apache character encoding

    Hi, I'm installing FM Advanced server 9 on my Mac OSX Server 10.4. The server is running Apache with PHP 4 and is serving a few other php based sites. After installing FM9 the aDnsih characters æøå among others gets cluttered. As you can see here: ht

  • 12.1.3 - FNDLIBR's keep dying

    I am in the midst of an R12.1.3 implementation on RH Linux. Things were working nicely until today in our User Acceptance instance. Noticed some of the Concurrent Mangers were not running. App tier has been shut down and restarted a few times. Bounce