Error consuming a web service

I invoke a SAP web service from oracle with SOAP message
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soapenv:Body>
<paem:ReadEmployeePersonalDataRequest xmlns:paem="http://nga/fer/paem">
<HeaderMsgReq>
  <functionalId>Str 1</functionalId>
  <messageId>Str 2</messageId>
  <timeStamp>2005-12-31T23:59:59Z</timeStamp>
  <consumerApp>Str 3</consumerApp>
  <consumerUsr>Str 4</consumerUsr>
  </HeaderMsgReq>
<BodyMsgReq>
<Employee>
  <employeeCode>1001</employeeCode>
  </Employee>
  </BodyMsgReq>
  </paem:ReadEmployeePersonalDataRequest>
  </soapenv:Body>
  </soapenv:Envelope>
SAP response with this  XML
<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">WSRM:NH/WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Language of error reason =E/Client =100/Location =Receiver/Class =CL_SOAP_WSRM_PROTOCOL/Method =WSRM_CHECK_SID_MNR_BEFORE_PRE/Use =WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Sequence ID =/Persistent ID =3205FB4D72399977E10000000A340566/Message number =0 /Error key =5 /Error key name =wsrm/Namespace =http://schemas.xmlsoap.org/ws/20//WSRM:NH/WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Language of error reason =E/Client =100/Location =Receiver/Class =CL_SOAP_WSRM_PROTOCOL/Method =WSRM_CHECK_SID_MNR_BEFORE_PRE/Use =WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Sequence ID =/Persistent ID =3205FB4D72399977E10000000A340566/Message number =0 /Error key =5 /Error key name =wsrm/Namespace =http://schemas.xmlsoap.org/ws/2005/02/rm/Other information =/Other information =/Node name =http://schemas.xmlsoap.org/ws/2005/02/rm/Role =http://schemas.xmlsoap.org/ws/2005/02/rm</faultstring>
         <faultactor>http://schemas.xmlsoap.org/ws/2005/02/rm</faultactor>
         <detail/>
      </soap-env:Fault>
   </soap-env:Body>
</soap-env:Envelope>
If we change the invocation header section and remove the return carriage SAP responses correctly
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
</soap:Header>
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>
I don't find some notes of patches for SAP
Thanks

Hello,
what is the version of SAP_BASIS ? Your example is so called Plain SOAP call. And if you have not very young patch, SAP basis supports only WS-RM for asynchronnous calls, which is something different.
More can be found on wikis, e.g. http://wiki.sdn.sap.com/wiki/display/ABAPConn/Plain+SOAP.
Rgds
Tomas

Similar Messages

  • ERROR Consuming external Web Services from JDE E1

    Hello everybody,
    I am trying to consume external web services from JD Edwards Enterprise One. For that, I have followed "Consuming External Web Services Tutorial".
    I have followed all the steps successfully, but when the final test called from an interactive application to the business function that I had created in C get the following error messages in the log file:
    [WARN ] JDE - [RUNTIME] *ERROR CallObject@13d346d: CallObject.executeRequest(): Problem executing function [consumingWS] lib [CALLBSFN] GetProcAddress failed. Please see Enterprise Server log for details. Business function cannot be found user:JDE Env:DV900*
    [SEVERE] JDE - [RUNTIME] FormEngine.doEvent(): BSFN failed and need roll back!! | Form Name : P5500055_W5500055A com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function consumingWs.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function consumingWs.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    at com.jdedwards.runtime.engine.form.FormEngine.doEvent(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.form.VTForm.doEvent(Unknown Source)
    at com.jdedwards.runtime.engine.ButtonEngine.onClick(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.VTButton.onClick(Unknown Source)
    at com.jdedwards.runtime.vtcomponent.VTButton.processVirtualEvent(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.processVTEvent(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.processEventLoop(Unknown Source)
    at com.jdedwards.runtime.virtual.OWVirtual.run(Unknown Source)
    at com.jdedwards.base.util.ThreadPool$WorkerThread.run(Unknown Source)
    I have tested:
    1) Incorrect OCM for BSFNs.
    Mapped to development Enterprise Server, so it was failing to find the BSFN.
    2) Increase heap space for Java.
    3) Business Function Location (C/S): "Both Client & Server Function"
    4) Link the Business function with its parent DLL (CALLBSFN.dll)
    I'm not sure I'd done well...
    5) Update Package
    From Buildlog.txt I can see the following error:
    Copying \\ORACLE-JDE\E900\DV900\package\DV900FB\lib32\sCALLBSF.lib to \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\sCALLBSF.lib
    Copying \\ORACLE-JDE\E900\DV900\package\DV900FB\work\jdertdll.c to \\ORACLE-JDE\E900\DV900\package\DVU100427\work\jdertdll.c
    Generating Makefile: E:\e900\DV900\obj\CALLBSFN.mak
    B5500055 : Not checked into pathcode, excluded from the build
    .Makefile generated.
    Building business functions.
    ************CALLBSFN************
    jdertdll.c
    Creating library \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\CALLBSFN.lib and object \\ORACLE-JDE\E900\DV900\package\DVU100427\lib32\CALLBSFN.exp
    CALLBSFN.exp : error LNK2001: unresolved external symbol _consumingWS@12
    \\ORACLE-JDE\E900\DV900\package\DVU100427\bin32\CALLBSFN.dll : warning LNK4088: image being generated due to /FORCE option; image may not run
    To not build the business function is not possible the package deployment for the server becomes aware of the presence of this business function...
    But I have not managed to solve the problem, do you have any idea?
    Thank you and regards.

    Hello again,
    I have modied OCM record with a correct BSSV (the name and the port number were wrong).
    And other thing that I have tested is change the parent DLL with a new DLL created by me (Object Name: CALLWS.dll, Product Code: 0, Product System Code:0) and the error is:
    *ERROR CallObject@25b780: CallObject.executeRequest(): Problem executing function [invocarWS] lib [CALLWS] LoadLib failed.Please see Enterprise Server log for details. Library in which business funtion resides cannot be loaded user:JDE Env:DV900*
    [SEVERE] JDE - [RUNTIME] FormEngine.doEvent(): BSFN failed and need roll back!! | Form Name : P5500055_W5500055A com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function invocarWS.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
    com.jdedwards.runtime.base.SystemException: There was a problem with the sever while running the business function invocarWS.\nThe current transaction has been lost.\nPlease exit the application and restart it.\nButton clicked Line number 1\nP5500055_W5500055A
         at com.jdedwards.runtime.engine.form.FormEngine.doEvent(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.form.VTForm.doEvent(Unknown Source)
         at com.jdedwards.runtime.engine.ButtonEngine.onClick(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.VTButton.onClick(Unknown Source)
         at com.jdedwards.runtime.vtcomponent.VTButton.processVirtualEvent(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.processVTEvent(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.processEventLoop(Unknown Source)
         at com.jdedwards.runtime.virtual.OWVirtual.run(Unknown Source)
         at com.jdedwards.base.util.ThreadPool$WorkerThread.run(Unknown Source)
    It seems like it is not possible to find the CALLWS dll... Althought it was built and compiled without errors and warnings...
    I would like to debug the Business Function in C from Microsoft Visual Studio 2005, but I can't, because breakpoints are disable.
    I have followed the following manual:
    E1: BSFN: Debugging Business Functions Using Visual Studio .NET 2003, 2005 and 2008 (I have founded it in Oracle Support (Metalinki)).
    And here they say:
    "It is a normal feature of visual studio 2003/2005 to disable break point at the start of a debug session and display a warning saying no symbol is loaded. Break point will only be activated on demand when the code to debug is loaded in to the runtime memory".
    I think is necessary add the referency with parent DLL (in my case, CALLWS.dll) but I don't know how can I do it. I have tested to insert in Business Function's source code the following line:
    "#pragma comment(lib,"CALLWS.dll")" to force to include it, but when it was built:
    ************CALLWS************
    B5500055.c
    Replacing B5500055.obj
    jdertdll.c
    Creating library E:\e900\DV900\lib32\CALLWS.lib and object E:\e900\DV900\lib32\CALLWS.exp
    LINK : fatal error LNK1104: cannot open file 'CALLWS.dll'
    Microsoft (R) Manifest Tool version 5.2.3790.2075
    Copyright (c) Microsoft Corporation 2005.
    All rights reserved.
    mt.exe : general error c10100b1: Failed to load file "E:\e900\DV900\bin32\CALLWS.dll". The system cannot find the file specified.
    Adjusting DLL load addresses . . .
    ************Build Finished************
    I don't understand nothing, because the path is totally right.
    Any help is appreciated!
    Thank you and regards.
    Edited by: user12085357 on 29-abr-2010 2:55
    Edited by: user12085357 on 29-abr-2010 3:02

  • TNS: lost contact error consuming https web services

    Hi,
    I'm trying this piece of pl/sql code and I'm getting TNS: lost contact error while trying to retrieve soap response. What could be wrong? I'm using oracle 10.2.0.1.0 database. Thanks in advance.
    declare
    envio varchar2(32767);
    peticion UTL_HTTP.req;
    respuesta UTL_HTTP.resp;
    cadena varchar2(32767);
    begin
    envio := 'xxx'; -- soap request
    Utl_Http.Set_Response_Error_Check ( enable => true );
    Utl_Http.Set_Detailed_Excp_Support ( enable => true );
    utl_http.set_wallet('file:/oracle/wallets','xxx');
    peticion := UTL_HTTP.begin_request ('https://xxx','POST','HTTP/1.1');
    UTL_HTTP.set_header(peticion, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header(peticion, 'Content-Length', LENGTH(envio));
    UTL_HTTP.set_header(peticion, 'SOAPAction','');
    UTL_HTTP.write_text(peticion,envio);
    respuesta := UTL_HTTP.get_response(peticion);
    UTL_HTTP.read_text(respuesta, envio);
    UTL_HTTP.end_response(respuesta);
    dbms_output.put_line(envio);
    exception
    when Utl_Http.Request_Failed then
    Dbms_Output.Put_Line ( 'Request_Failed: ' || Utl_Http.Get_Detailed_Sqlerrm );
    when Utl_Http.Http_Server_Error then
    Dbms_Output.Put_Line ( 'Http_Server_Error: ' || Utl_Http.Get_Detailed_Sqlerrm );
    when Utl_Http.Http_Client_Error then
    Dbms_Output.Put_Line ( 'Http_Client_Error: ' || Utl_Http.Get_Detailed_Sqlerrm );
    when others then
    Dbms_Output.Put_Line ('Otros: ' || SQLERRM);
    end;

    The problem is a database bug:
    Bug 5575771 UTL_HTTP cannot handle https connections without a content-length
    If UTL_HTTP is used to retrieve an HTTPS response with no content-length, it
    throws an ORA-12547 on the final read (if the final read is shorter than the
    buffer supplied).
    Workaround:
    Include a Content-Length section on all responses.
    (This may not be possible since some responses may not
    be under your control)
    Message was edited by:
    [email protected]

  • Error when consuming a web service in CF 11

    I am consuming a web service in ColdFusion what was written in .NET.  Some methods of the web service work fine, but some we get the below error.  We have identified the issue is the name of one of the properties in the web service appears to be the issue.  The property name is ID.  This is a very common property name so I would think someone has run across this before.  It appears that maybe ID is a default property for Axis?  I can dump the method that works and I see there is a getID() method with a return type of org.apache.axis.types.Id.
    If we change the name of the property to something other than ID it works, but this will cause us to refactor a lot of code.
    Here is the error I get when I try to call GetRoles method, which contains an ID property:
    Cannot perform web service invocation GetRoles. The fault returned when invoking the web service operation is:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: For input string: "i1"
    java.lang.NumberFormatException: For input string: "i1"
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: For input string: "i1"
    java.lang.NumberFormatException: For input string: "i1"
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462)
    at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393)
    at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java: 1048)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
    at org.apache.axis.message... ''
    I am running CF 11 Update 4.

    I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

  • Consuming a Web service from Crystal reports 2008 - Error

    Hi,
    I want to consume a web service from Crystal Reports 2008. I created a New Connection using "XML and Web Services" and given WSDL url as the Web Service location. Crystal Report is able to connect to the WSDL and is displaying the tags correctly. When dragging the output to "Selected Tables' section, I am getting the following error:
    "Invalid Argument Provided"
    Details: Cannot support ArrayType input parameters.
    Kindly help. Apparently this was a limitation in CR XI but does it still exist in CR 2008? Is there any patch available to resolve this issue?
    Thanks,
    Jaya
    Edited by: jayakvr on Feb 17, 2011 10:47 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM
    Edited by: jayakvr on Feb 17, 2011 10:48 AM

    This issue is resolved now. I have installed the Service packs 1, 2 and 3 of CR2008 to overcome this error.
    Thanks,
    Jaya

  • Error while pinging Web service in SUP.

    Hi all,
    I am trying to consume a Web Service through SUP.
    I have taken a sample Web service [http://www.webservicex.net/ConvertTemperature.asmx?WSDL] .
    But when I trying to establish a connection from sybase Wrokspace and ping the web service It is giving me an error.
    I have checked if the web service URL and it is working fine.
    The error  I recived while pinging is as follows
    com.sybase.sup.tooling.xml.XmlException: java.net.ConnectException: Connection timed out: connect
         at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:573)
         at com.sybase.sup.tooling.wsdl.WsdlParser.parse(WsdlParser.java:68)
         at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:91)
         at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:66)
         at com.sybase.uep.datasources.ws.views.WSConnection.initialize(WSConnection.java:154)
         at com.sybase.uep.datasources.ws.views.WSConnection.<init>(WSConnection.java:38)
         at com.sybase.uep.datasources.ws.views.WSConnectionFactory.createConnection(WSConnectionFactory.java:28)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:525)
         at java.net.Socket.connect(Socket.java:475)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
         at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:562)
         ... 11 more
    Please let me know what the problem might be.
    Thanks,
    Krutheeka.

    Hi,
    while you setup the webservice you can test the service and get the preview of the resultset. Did that work fine? If that works fine - check if you can simply copy and paste the webservice URL into a browser on the running PC. If you do not get a result in the browser, it is the landscape - if you get a result in your browser but not in the app it is the app.
    Well, could you try that step first?
    Regards,
    oliver

  • Consuming External Web Services in Web Dynpro Java

    Hi All,
    I an trying to consume external web service in Web dynpro java using Adaptive Web Service Model.
    But getting below mentioned error while executing the web service
    Exception on execution of web service with WSDL URL 'D:\Web Service Project\CurrencyConvertor.asmx.xml' with operation 'ConversionRate' in interface 'CurrencyConvertorSoap'
    Steps i followed are as below:
    1. Created  Adaptive Web Service Model for this i select WSDL source as "Local File System or URL"
    In next step i select No logical destination radio button and click on next
    In next step, browse the WSDL file and successfully import the WSDL file.
    2. After successfully importing the WSDL file i wrote below code in Init method:
    WebModel modelweb = new WebModel();               
    Request_ConversionRate reqConversion = new Request_ConversionRate(modelweb);
    ConversionRate conversion= new ConversionRate(modelweb);
    reqConversion.setConversionRate(conversion);
    wdContext.nodeRequest_ConversionRate().bind(reqConversion);
    3.After that execute the model - code is given below :
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentRequest_ConversionRateElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeConversionRateResponse().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Please let me know how to resolve this.
    Thanks
    Sandy

    Hi,
    You need to use destinations for metadata and modeldata.
    Configure those destination in Visula admin.
    you can refer to following link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Shruti.

  • Handling of SOAP Faults in SOAP Clients consuming PI Web services

    Hi there,
    the following is in regards to SOAP fault error handling in a SOAP client that consumes a Web Service published by PI.
    I have been reading a number of threads and blogs in regards to this topic and I am still left with some open questions which I hope to get some final answersclarifications through this thread.
    In particular the blogs
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI      - Handling Web Service SOAP Fault Responses in SAP NetWeaver XI
    XI: Propagation of meaningful error information to SOAP Client     - XI: Propagation of meaningful error information to SOAP Client
    have caused by attention.
    Both of these threads are realating to the Fault Message type one can use to return errors back to a SOAP Client (.Net, Java, etc.).
    In our scenario we published a number of Web Services through PI that provide functionality to integrate with an R3 back-end system using inbound ABAP Proxies.
    The services are standardised and will be consumed by a number of .NetJava applications and systems. The reason for the use of ABAP proxies is the customer specific application logic that is executed in the backend system. The Web services are synchronous and don't use ccBPM in the middle. Transformations are performed in PI combined with various lookups to set default values before the message is passed into the ABAP Framework of the R3 back-end system. The lookups are done against the R3 back-end system using the PI RFC Lookup feature.
    The inbound proxies currently return application errors as part of the response message back to the SOAP client. For more critical errors we introduced the use of Fault message types as the method to return the information back to the SOAP Client. This is all working satisfactory.
    The questions I have are as follows.
    1. When an error occurs at the IE level (e.g. mapping error), ABAP Proxy framework level (e.g. conversion from XML to ABAP format) or Adapter Framework level (Adapter releated error) a different SOAP fault message structure is returned to the SOAP Client than the one    used for the application errors. The SOAP fault message structure used in this case is the standard SOAP fault used by PI to return system errors back to the caller. For those SOAP fault messages there is no payload generated that could be mapped to the SOAP fault structure used for the application errors. This would be preferrable as there would be only one Fault message structure used for both inbound ABAP proxy generated fault messages and PI generated fault messages.
    Also the error messages generated by PI can be quite cryptic and difficult to interpret at the client end and could be filtered     ranslated during message mapping if the payload of the PI generated SOAP fault message could be accessed in a message mapping.
    Point 3 of the above thread 2759 indicates that this would be possible but doesn't outline how. Could somebody please clarify this for me as I don't believe that this is really possible ???.
    My idea instead was to use the PI SOAP fault message structure to also return application errors. Therefore I would create a Fault message type that matches the PI SOAP fault structure. This would enable the SOAP Client to handle only one SOAP Fault error structure. Would that be something to look into instead ?????.
    2. We have been looking at using the integrated WEB AS SOAP adapter instead of using the AF Sender SOAP adapter. While playing with this we encountered differences in the content returned through the SOAP fault generated by PI. A sample is below. Shouldn't the content of these SOAP faults be the same if the error that caused it is the same. Also the SOAP fault returned by the IE SOAP adapter is much more    useful in this particular case. Both errors below are the same, a conversion error from XML to ABAP took place in the inbound ABAP proxy framework of the back-end system.
    SOAP fault returned when using SOAP Sender adapter of AF
    <!see the documentation>
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIProxy:PARSE_APPLICATION_DATA:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:916)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         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:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    SOAP fault using integrated SOAP adapter of PI IE
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>System Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context/>
                   <code>ABAP.PARSE_APPLICATION_DATA</code>
                   <text>Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXSBE20FF604BAFEF8D990A XML Bytepos.: 564  XML Path: ns1:CreatePORequest(1)POHEADER(2)COMP_CODE(1) Error Text: Data loss occurred when converting ############################## Kernel ErrorId: CONVT_DATA_LOSS))</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I have been reading threads for hours without being able to find one that answers questions 1 or provides a blog that outlines the approach one should take for error handling in SOAP clients that consume PI Web Services (and covers both PISystem generated faults and faults raised in Proxies).
    There may already be a blog or thread and I just missed it.
    Any comments are welcome.
    Thanks. Dieter

    Hi Dieter,
    As Bhavesh already mentioned fault messages are used for application errors. The same is described in SAP XI help:
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    In case of system error (e.g. field length too long in proxy call or error in XI/PI mapping) there seems to be no standard way of handling it and propagating the response to the consumer of webservice.
    Each system error is not recognized by SOAP adapter and SOAP adapter exception is raised.
    The only bizzare solution that I can see is developing an adapter module and transport wrong message to standard fault message before delivering it to adapter engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
    Kind regards,
    Wojciech
    btw nice thread

  • Consuming a Web Service with WEB AS 6.40

    Hello,
    i try to consume a Webservice from the internet. I have configured the logical port and i created the client proxy as shown in the following real good weblog from
    Thomas Jung.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    But when i try to test the proxy in SE80 I retrieve the following error:
    <CODECONTEXT>http://www.sap.com/xml_errorcodes</CODECONTEXT>
      <CODE>SOAP:111</CODE>
      <ERRORTEXT>Unallowed RFC-XML Tag (SOAP_EINVALDOC)</ERRORTEXT>
    What's wrong here? Someone can help me?
    Thanks for your help!
    Klaus

    We had the same error message for one of our Proxy Web Service calls.
    We tried to use an RFC instead of the URL, and performed a TEST CONNECTION.  And low and behold, we received an error message that was much more helpful than the "Unallowed RFC-XML Tag (SOAP_EINVALDOC)" message.
    The problem for us was that the Server that we were trying to consume the Web service from was blocking the IP address of our Web Application Server.
    We contacted the administrator, he verified that was the case, removed the restriction, and all is good now.
    Here was the message we saw when we tested it in the RFC:
    The Web server you are attempting to reach has a list of IP addresses that are not allowed to access the Web site, and the IP address of your browsing computer is on this list.  Please try the following: Contact the Web site administrator if you believe you should be able to view this directory or page.
    Hope this helps!

  • Error when importing Web Service Model

    Hi,
    I am having trouble importing a Web Service model into my Web Dynpro component.
    I have successfully published my SessionBean method as a Web Service which works correctly when used from the Web AS Web Service Navigator.
    However, my Web Dynpro cannot correctly create a model from the WSDL. The problem seems to be with the last parameter of the method, a two-dimensional array of Strings. When importing the web service model, the following line of code get created in the respective Model class:
    logicalPort.generateMetadata(this.getKeywordsAsArray(), this.srcLang, this.getTgtLangAsArray(), ERROR no prop = parameters
    Obviously there is a problem with the code generation for the last parameter (the two-dimensional array) which results in this "ERROR no prop = parameters" message.
    Does anyone have an idea what I might be doing wrong? Is there a problem with multidimensional arrays in Web Dynpro model classes? I originally wanted to use a HashMap but naturally had to use a simple data type - any other ideas for a workaround?
    Cheers,
    Tim

    Hi,
    First, can you check whether you able to access your web service url in browser?
    or
    you can test your webservice from the NWDI Web service perspective, here you can test your web service is correctly functioning or not before using in your Web Dynpro application.
    This document clearly explains How to test the web service url and what is the correct procedure to consume the web service in SAP portal.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b07992b3-b5af-2a10-9886-affcbeccc4c9]
    [http://help.sap.com/saphelp_nw70/helpdata/en/f4/1a1041a0f6f16fe10000000a1550b0/content.htm]
    Regards
    Raghu

  • Consuming SAP web services with tables

    I'm doing kind of feasibility study on consuming SAP web
    services from CF.
    So far so good, but I'm stuck dealing with tables
    (import/export parameters in SAP world).
    I know how to receive a table object from SAP functions:
    * With Apache Axis v1.2: pass an empty CF structure as a
    parameter
    * With Apache Axis v1.4: pass an empty CF array as a
    parameter
    Then the parameter is filled with data (replaced with Java
    object) and we can just parse the object accordingly.
    My question here is whether or not we can pass a *table with
    actual records*.
    For example, I want to pass a table with multiple records to
    update DB records under SAP.
    I tried passing (1) CF array of structure and (2) Java
    ArrayList with no chance.
    The web service call itself completes without errors (no
    method signature error), but the SAP function seems to see the
    parameter as an empty table.
    Anyone has been successful with this case?
    Any suggestion would be much appreciated.

    Thanks Dan,
    Unfortunately CF query object didn't work either.
    Now I'm looking at the code generated by Flex Builder to see
    how the classes are like ;-)
    It's just an ArrayCollection of simple value objects
    (representing a row).
    So CF array of structure or Java ArrayList looks a reasonable
    approach though they don't at all.

  • Help with consuming a web service

    Hi guys,
    I'm trying to consume a web service but I have the following problem when I consume it:
    javax.xml.rpc.soap.SOAPFaultException: Internal Error
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:491)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at qtel.tibco.transferAsset.AssetPort_Stub.transferAsset(AssetPort_Stub.
    java:67)
    at transferasset.Main.main(Main.java:34)
    I'm using NetBeans 5.0 with JDK 1.4 and the JAX-RPC 1.6
    here is my Code:
    package transferasset;
    import java.io.*;
    import javax.xml.rpc.*;
    import java.rmi.*;
    * @author Administrator
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
           try{
             System.out.println(args[0] + " " + args[1] + " " + args[2] );
             qtel.tibco.transferAsset.AssetManagementServiceServiceagent service = new qtel.tibco.transferAsset.AssetManagementServiceServiceagent_Impl();
             qtel.tibco.transferAsset.AssetPort port = service.getAssetPortEndpoint1();
             qtel.tibco.transferAsset.TransferAssetRequest req = new  qtel.tibco.transferAsset.TransferAssetRequest(args[0].toString(),args[1].toString(),args[2].toString());
             qtel.tibco.transferAsset.TransferAssetResponse result = port.transferAsset(req);
             System.out.print(result.getData().getReturnStatus());
           }catch(javax.xml.rpc.soap.SOAPFaultException e){
               //System.out.print(e.getFaultString());
               //System.out.print(e.getFaultActor());
               e.printStackTrace();
        }catch(Exception e){
                e.printStackTrace();
               System.out.println(e.getMessage());
               //System.out.println("exception");
           //return result.getData().getReturnStatus();
    }the problem is as folowwing in the command prompt when I run the following command I will have no error and the web service work fine:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 1 1 1
    but the problem will appear if I send a character in the parametars like this:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 12367 3456 HC-098
    So any help will be Appreciated
    thanks in advance.

    Hi guys,
    I'm trying to consume a web service but I have the following problem when I consume it:
    javax.xml.rpc.soap.SOAPFaultException: Internal Error
    at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.ja
    va:491)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307
    at qtel.tibco.transferAsset.AssetPort_Stub.transferAsset(AssetPort_Stub.
    java:67)
    at transferasset.Main.main(Main.java:34)
    I'm using NetBeans 5.0 with JDK 1.4 and the JAX-RPC 1.6
    here is my Code:
    package transferasset;
    import java.io.*;
    import javax.xml.rpc.*;
    import java.rmi.*;
    * @author Administrator
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
         * @param args the command line arguments
        public static void main(String[] args) {
           try{
             System.out.println(args[0] + " " + args[1] + " " + args[2] );
             qtel.tibco.transferAsset.AssetManagementServiceServiceagent service = new qtel.tibco.transferAsset.AssetManagementServiceServiceagent_Impl();
             qtel.tibco.transferAsset.AssetPort port = service.getAssetPortEndpoint1();
             qtel.tibco.transferAsset.TransferAssetRequest req = new  qtel.tibco.transferAsset.TransferAssetRequest(args[0].toString(),args[1].toString(),args[2].toString());
             qtel.tibco.transferAsset.TransferAssetResponse result = port.transferAsset(req);
             System.out.print(result.getData().getReturnStatus());
           }catch(javax.xml.rpc.soap.SOAPFaultException e){
               //System.out.print(e.getFaultString());
               //System.out.print(e.getFaultActor());
               e.printStackTrace();
        }catch(Exception e){
                e.printStackTrace();
               System.out.println(e.getMessage());
               //System.out.println("exception");
           //return result.getData().getReturnStatus();
    }the problem is as folowwing in the command prompt when I run the following command I will have no error and the web service work fine:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 1 1 1
    but the problem will appear if I send a character in the parametars like this:
    java -jar "C:\updateassetinfo\dist\updateassetinfo.jar" 12367 3456 HC-098
    So any help will be Appreciated
    thanks in advance.

  • Consume a Web Service: No receiver could be determined

    Hello,
    I have a successful running Web Service on a JAVA stack. Now I want to consume this web service within the ABAP Stack. For this purpose I generated the appropriate proxy object from the WSDL.
    However, while running my ABAP test program I am receiving an error: RCVR_DETERMINATION.NO_RECEIVER_CASE_BE No receiver could be determined
    Does anybody know, what to do? Do I need to register the generated proxy somewhere? Or what went wrong?
    Best Regards!

    you dont need to do any settings in LPCONFIG
    just create client proxy and <b>activate</b> the proxy class
    then in LPCONFIG
    enter the client proxy name and port name (port name can be any text) and check the checkbox "default" and click create and activate the same.
    now you are ready to consume the webservice.
    Regards
    Raja
    assigning points to helpful answers by choosing the appropriate radiobuttons in the answers in the SDN way of saying thanks.

  • Error in ADF Web Service Connection

    Hello everyone.
    I have the following problem.
    Create a "Web Services Proxy" to consume a Web Services outside the application.
    Web services require authentication and create a Web ADF Services Connection to authenticate, but when you programmatically use the ADF Web Service Connection I get the following error:
    java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processParameters(OperationMappingModeler.java:268)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processMethod(OperationMappingModeler.java:155)
         at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:114)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:106)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:219)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:249)
         at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.getJaxWSPort(WebServiceConnectionImpl.java:399)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getDatosBlogsBndQSService(WordPressCliente.java:62)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getDatosBlogsPortClient(WordPressCliente.java:86)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.getBlogs(WordPressCliente.java:105)
         at edu.esade.portal.wsclient.wordpress.WordPressCliente.main(WordPressCliente.java:167)
    The code I use to get the connection is:
    private DatosBlogsBndQSService getDatosBlogsBndQSService () {
    Context ctx;
    try {
    ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("DatosBlogsBndQSService");
    System.out.println("wsc:"+wsc.toString());
    DatosBlogsBndQSService proxy = wsc.getJaxWSPort(DatosBlogsBndQSService.class); // line 62
    return proxy;
    } catch (NamingException e) {
    e.printStackTrace();
    return null;
    Finalmente la configuración del recurso es:
    <Reference name="DatosBlogsBndQSService" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" credentialStoreKey="DatosBlogsBndQSService" xmlns="">
    <Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
    <RefAddresses>
    <XmlRefAddr addrType="WebServiceConnection">
    <Contents>
    <wsconnection description="URL-XXX" service="{URL-XXX}DatosBlogsBndQSService">
    <model name="{URL-XXX}DatosBlogsBndQSService" xmlns="http://oracle.com/ws/model">
    <service name="{URL-XXX}DatosBlogsBndQSService">
    <port name="DatosBlogsBndQSPort" binding="{URL-XXX}DatosBlogsBnd">
    <soap username="transportUserName" password="transportPassword" addressUrl="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <operation name="consultarPosts">
    <soap soapAction="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <output name=""/>
    <input name=""/>
    </operation>
    <operation name="listarBlogs">
    <soap soapAction="URL-XXX" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
    <output name=""/>
    <input name=""/>
    </operation>
    </port>
    </service>
    </model>
    </wsconnection>
    </Contents>
    </XmlRefAddr>
    <SecureRefAddr addrType="transportPassword"/>
    <SecureRefAddr addrType="transportUserName"/>
    </RefAddresses>
    </Reference>
    When the Web Service did not require authentication to work without problem, the error arises when you need to login and use the "ADF Web Services Connection", is there some other way to log in using the Web Service proxy client directly?
    Any help is welcome.
    Regards.
    Marcelo

    Hi Shay.
    I not use Web service data control, I use only Web Service proxy and the client class for populate data to view object programmatically.
    However, in a test class do I have this:
    public class WordPressCliente {
    private final static Logger logger = Logger.getLogger(WordPressCliente.class);
    public WordPressCliente() {
    super();
    private DatosBlogsBndQSService getDatosBlogsBndQSService () {
    Context ctx;
    try {
    ctx = ADFContext.getCurrent().getConnectionsContext();
    WebServiceConnection wsc = (WebServiceConnection) ctx.lookup("DatosBlogsBndQSService");
    System.out.println("wsc:"+wsc.toString());
    DatosBlogsBndQSService proxy = wsc.getJaxWSPort(DatosBlogsBndQSService.class);
    return proxy;
    } catch (NamingException e) {
    e.printStackTrace();
    return null;
    private DatosBlogsPT getDatosBlogsPortClient() throws Exception {
    URL baseUrl = DatosBlogsBndQSService.class.getResource(".");
    URL url = new URL(baseUrl,ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress"));
    QName qName = new QName("http://esade.edu/soa/servicio/DatosBlogs/v01_00","DatosBlogsBndQSService");
    System.setProperty("http.username", "atsistemas");
    System.setProperty("http.password", "atsistemas2011");
    DatosBlogsBndQSService integracionWordpress = new DatosBlogsBndQSService(url,qName);
    DatosBlogsPT wordpressPT = integracionWordpress.getDatosBlogsBndQSPort();
    if (ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.autenticacion").equals("true")) {
    System.out.println("hay que validar el WS");
    BindingProvider bp = (BindingProvider)wordpressPT;
    bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.usuario"));
    bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.clave"));
    DatosBlogsPT wordpressPT = getDatosBlogsBndQSService().getDatosBlogsBndQSPort();
    return wordpressPT;
    private DatosItemsPT getDatosItemsPortClient() throws Exception {
    DatosItemsBndQSService datosItems = new DatosItemsBndQSService();
    DatosItemsPT itemsPT = datosItems.getDatosItemsBndQSPort();
    if (ArchivoUtil.getInstance().getPropiedad("ws.integracion.items.autenticacion").equals("true")) {
    BindingProvider bp = (BindingProvider)itemsPT;
    bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.usuario"));
    bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, ArchivoUtil.getInstance().getPropiedad("ws.integracion.wordpress.clave"));
    return itemsPT;
    public List<Blog> getBlogs() throws Exception {
    List<Blog> lista = null;
    try {
    DatosBlogsPT cliente = getDatosBlogsPortClient();
    FiltroBlogs filtroBlog = new FiltroBlogs();
    ListarBlogsInput blogInput = new ListarBlogsInput();
    HeaderESADE header = new HeaderESADE();
    header.setUsernameESADE("");
    header.setParentSOAComponent("");
    blogInput.setFiltroBlogs(filtroBlog);
    lista = cliente.listarBlogs(blogInput,header).getBlogs().getBlog();
    } catch (ClientTransportException e) {
    logger.error(e.getStackTrace());
    e.printStackTrace();
    ADFUtils.showMessage(Constantes.TITULO_01, Constantes.MENSAJE_01);
    return lista;
    public List<Post> getPostsPorBlog(String idBlog) throws Exception {
    List<Post> lista = null;
    try {
    DatosBlogsPT cliente = getDatosBlogsPortClient();
    ConsultarPostsInput postInput = new ConsultarPostsInput();
    FiltroPosts filtroPost = new FiltroPosts();
    HeaderESADE header = new HeaderESADE();
    filtroPost.setBlogId(new Long(idBlog).longValue());
    filtroPost.setFechaInicio(FechaUtil.getFecha());
    filtroPost.setFechaFin(null);
    header.setUsernameESADE("");
    header.setParentSOAComponent("");
    lista = cliente.consultarPosts(postInput,header).getPosts().getPost();
    } catch (ClientTransportException e) {
    logger.error(e.getStackTrace());
    ADFUtils.showMessage(Constantes.TITULO_01, Constantes.MENSAJE_01);
    return lista;
    public static void main(String[] args) {
    WordPressCliente wordPressCliente = new WordPressCliente();
    try {
    Iterator i = wordPressCliente.getBlogs().iterator();
    while (i.hasNext()) {
    Blog blog = (Blog)i.next();
    logger.debug("Blog Id:" + blog.getId() + " url:" + blog.getUrl() + " nombre:" + blog.getNombre() + " publico:" + blog.isPublico() + " lang:" + blog.getLang());
    try {
    Iterator j = wordPressCliente.getPostsPorBlog(Long.toString(blog.getId())).iterator();
    while (j.hasNext()) {
    Post post = (Post)j.next();
    logger.debug(" Post Id:" + post.getId() + " autor:" + post.getAutor() + " titulo:" + post.getTitulo() + " size ambitos:" + post.getAmbitos().getAmbito().size() +
    " tags:" + post.getTags());
    } catch (Exception e) {
    e.printStackTrace();
    } catch (Exception e) {
    e.printStackTrace();
    }

  • (401) unauthorized error when accessing web service....

    Hello people! Can someone could possibly help me out. I'm try to consume a web service in .net technology. This was supposedly working already but lately I'm already given a (401) unauthorized error when consuming the web services. Here the code that was working couple of days ago....
    package samples;
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import org.apache.axis.encoding.XMLType;
    import javax.xml.namespace.QName;
    public class LogIn
         private String url = "http://www-cebu/apps/webservices/fscservice.asmx?wsdl";
         private String action="FSC Services/LogIn";
         private String result="";
         private String username="";
         private String password="";
         private String domain="";
         public LogIn(String username, String password,String domain)
              this.username = username;
              this.password = password;
              this.domain = domain;
              try
                   Service service = new Service();
                   Call call = (Call)service.createCall();
                   call.setTargetEndpointAddress(new java.net.URL(url));
                   call.setOperationName(new QName("FSC Services/LogIn","LogIn"));
                   call.addParameter("username",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.addParameter("password",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.addParameter("domain",org.apache.axis.encoding.XMLType.XSD_STRING,javax.xml.rpc.ParameterMode.IN);
                   call.setReturnType(org.apache.axis.encoding.XMLType.XSD_STRING);
                   call.setUseSOAPAction(true);
                   call.setSOAPActionURI(action);
                   result = (String)call.invoke(new Object[] {username,password,domain});
              catch (Exception e)
                   System.err.println(e.toString());
         public String getResult()
              return result;     
         public static void main(String [] args)
                   LogIn test = new LogIn("username","password","domain");     
                   System.out.println(test.getResult());
    }

    1. Use iFrame to show you report from Resporting Services in your Web App.
    Or :
    2. Use Report Viewer in your Web App if you use .NET, and use this code to pass your parameters :
    ReportViewer1.ServerReport.Credential = new System.Network.NetworkCredential(“your name”, “your password”, “your domain”);

Maybe you are looking for