Executing Web Service

Hai,
I am A.Mohammed Rafi working in Adobe Live Cycle Designer 7.0
I designed a form using Adobe Live Cycle Designer 7.0 and installed the SOAP listener in the web server.
Next using WSDL connection method I connected in Adobe using a WSDL file located in the web server and after connecting the fields are populated and displayed in the data view.
A button is also populated which is given by Adobe to execute the web service.
But when the button is executed there is no reponse from Adobe form in calling the web service because there is no communication established between the SOAP listener and the Adobe forms.
Please let me know how to establish the connection from Adobe forms to SOAP listener.
Please let me know the website where sample webservices are available for download for learning purpose.
Expecting your reply soon.
Thanks & Regards,
A.Mohammed Rafi.
Mobile : 9841278679

Below is a part of the code in the webservice:
set noId as 1 and txrAktivitet = "Hämta"
You will get the customer 1 data.
This is the code in designer
if (noId.rawValue != null){
try{
txrAktivitet.rawValue = "Hämta"
var a = xfa.connectionSet.Namn.execute(0);
catch(e){app.alert("Ej ansluten till internet eller fel version av Acrobat!");
this is the code in the webservice:
Public Function Kund(ByVal txrAktivitet As String, ByVal noId As String, ByVal txtNamn As String, ByVal txtAdress As String, ByVal txtPadress As String, ByVal txtTel As String, ByVal txtEpost As String) As String
Dim SQLExpr As String
SQLExpr = "SELECT NoId, txtNamn, txtAdress, txtPadress, txtTel, txtEpost FROM Kund where NoId=" & noId
Rs.Open(SQLExpr, cnn, 3, 3)
If txrAktivitet = "Hämta" Then
If Rs.RecordCount = 0 Then
KundResult = "0;;;KundNr Saknas;;; ;;; ;;; ;;; ;;;"
Else
KundResult = Rs.Fields("NoId").Value & ";;;" & Rs.Fields("txtNamn").Value & ";;;" & Rs.Fields("txtAdress").Value & ";;;" & Rs.Fields("txtPadress").Value & ";;;" & Rs.Fields("txtTel").Value & ";;;" & Rs.Fields("txtEpost").Value & ";;;"
End If
Return KundResult
End If
If txrAktivitet = "Spara" Then
Rs.Fields("txtNamn").Value = txtNamn
Rs.Fields("txtAdress").Value = txtAdress
Rs.Fields("txtPadress").Value = txtPadress
Rs.Fields("txtTel").Value = txtTel
Rs.Fields("txtEpost").Value = txtEpost
Rs.Update()
KundResult = noId & ";;;" & txtNamn & ";;;" & txtAdress & ";;;" & txtPadress & ";;;" & txtTel & ";;;" & txtEpost & ";;;"
Return KundResult
End If
If txrAktivitet = "Ny" Then
Rs.AddNew()
Rs.Fields("txtNamn").Value = txtNamn
Rs.Fields("txtAdress").Value = txtAdress
Rs.Fields("txtPadress").Value = txtPadress
Rs.Fields("txtTel").Value = txtTel
Rs.Fields("txtEpost").Value = txtEpost
Rs.Update()
Rs.MoveLast()
noId = Rs.Fields("noId").Value
KundResult = noId & ";;;" & txtNamn & ";;;" & txtAdress & ";;;" & txtPadress & ";;;" & txtTel & ";;;" & txtEpost & ";;;"
Return KundResult
End If
If txrAktivitet = "Radera" Then
Rs.Delete()
KundResult = "0;;; ;;; ;;; ;;; ;;; ;;;"
Return KundResult
End If
If txrAktivitet = "Kunder" Then
Rs.Close()
SQLExpr = "SELECT NoId, txtNamn, txtAdress, txtPadress, txtTel, txtEpost FROM Kund order by txtNamn desc"
Rs.Open(SQLExpr, cnn, 3, 3)
Do While Not Rs.EOF
KundResult = KundResult & CStr(Rs.Fields("noId").Value) & " " & Rs.Fields("txtNamn").Value & ";;;"
Rs.MoveNext()
Loop
Return KundResult
End If
Rs.Close()
cnn.Close()
End Function

Similar Messages

  • Unable to execute Web Service from SSRS Dataset

    Hi,
    I am unable to access a Web Service to execute Dataset from MS SSRS. I have created a Dataset that refers to a WebService as  a Query. The dataset and Query runs well in DEV environment. However, the following error message is displayed when executing
    the Query inQA environment:
    An error occurred while executing the query.
    Failed to execute web request for the specified URL.
    Soap Fault:
    The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior)
    on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs. (Microsoft SQL Server Report Designer)
    rogram Location:
    Server stack trace:
       at Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.ExecuteWebRequest(ICredentials credentials)
       at Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.Execute()
       at Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.<>c__DisplayClass1.<ExecuteReader>b__0()
       at Microsoft.ReportingServices.DataExtensions.XmlDP.WebRequestHelper.ExecuteServerCallAsNtUser(ServerCall serverCall, WindowsIdentity ntUser)
       at Microsoft.ReportingServices.DataExtensions.XmlDP.InMemoryCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.ReportingServices.QueryDesigners.MultiThreadedQueryResultsHelper.AsyncExecuteReader(IDbCommand command, CommandBehavior behaviour)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       at Microsoft.ReportingServices.QueryDesigners.MultiThreadedQueryResultsHelper.ExecuteReaderHandler.EndInvoke(IAsyncResult result)
       at Microsoft.ReportingServices.QueryDesigners.MultiThreadedQueryResultsHelper.<>c__DisplayClass1.<ExecuteActiveQueryCallback>b__0()
       at Microsoft.ReportingServices.QueryDesigners.QueryResultsGrid.EndExecuteReaderInUiThread(GetDataReaderHandler getDataReaderCallback)
    ===================================
    The remote server returned an error: (500) Internal Server Error.
    <s:Envelope xmlns:s="<faultcode">http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="a:InternalServiceFault</faultcode><faultstring">http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</faultcode><faultstring
    xml:lang="en-US">The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the &lt;serviceDebug&gt;
    configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.</faultstring></s:Fault></s:Body></s:Envelope>
    I am looking for a solution to this problem. Any help in this regard will be appreciated.

    Hi Abhijit PS,
    According to your description, when calling a web service on production environment, you get the above error message. Right?
    In this scenario, it seems you are calling WCF services. Since it's an internal error, we suggest you enable the IncludeExceptionDetailInFaults to see the detail information about the error. Please refer to the articles below:
    How to enable WCF tracing
    Turn on IncludeExceptionDetailInFaults while connecting to a WCF service from a
    client.
    The server was unable to process the request due to an
    internal error.  For more information.. Turn on IncludeExceptionDetailInFaults
    Also please refer to some similar threads below:
    Turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration
    behavior) on the server
    WCF  Error The server
    was unable to process the request due to an internal error
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error 403 while executing Web Service through Web Service Navigator

    Hello All,
    I am trying to execute "Create Sales Order" Web Service from WS Navigator. After filling all the input parameters and clicking on execute button, I get a error message
    Failed Invalid Response code (403)
    I know the execution is not reaching the back end proxy class. Any inputs on what could be causing this issue?
    Regards,
    Abhishek

    Hi Abhishek,
    Error code 403 means that the [access is forbidden.|http://en.wikipedia.org/wiki/HTTP_403]
    This means that the user access that is being used to access the Web Service / Backend Proxy does not have enough authorizations to perform the action.
    Check this user id, and its roles.
    Regards,
    Alka.

  • Executing web service operation with complex input - Please help

    Hi All,
    I am working on invoking a web service through ADF. The request format for the webservice consists of multiple occurance of same element. Below is sample request. here <index> is repeating n number of times.
    <soapenv:envelope>
    <soapenv:Body>
              <ns6:StoreDocumentRequest>
                   <ns6:docFileType>ABC</ns6:docFileType>
                   <ns6:Metadata>
                        <ns6:index>
                             <ns6:indexType>Format_Type</ns6:indexType>
                             <ns6:indexValue>ACROBAT</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Buyer_No</ns6:indexType>
                             <ns6:indexValue>1234567</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Document_Type</ns6:indexType>
                             <ns6:indexValue>101A</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Capture_Location</ns6:indexType>
                             <ns6:indexValue>XYZ</ns6:indexValue>
                        </ns6:index>
                   </ns6:Metadata>
                   <ns6:Content>XXXXXXXXXXXX</ns6:Content>
              </ns6:StoreDocumentRequest>
         </soapenv:Body>
    </soapenv:envelope>
    now I need to populate these values thrugh Operation binding in my managed bean class. I have also dragged these parameters and operation on my jsf page to get hold of those in my managed bean context. I am having following code in my managed bean to set these parameters.
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding storeDocumentBinding = bindings.getOperationBinding("StoreDocument");
    storeDocumentBinding.getParamsMap().put("docFileType", filetype);
    storeDocumentBinding.getParamsMap().put("Content", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.execute();
    Here I am facing some issues:
    1. The operation is not picking values put from ParamMap(). It is taking values as empty (as in my .jspx page form, I have made it hidden though). It takes value from my jspx page form, which is blank.
    2. when I am manually entering values in the .jspx page form, for <indexValue> and <indexType> tags, it is taking only one value (last one) for creating the request.
    3. the storeDocument() function is a SOAP based service. How can I check for SOAP response after operationBinding.execute(). I checked for response after execution, it sends an object as result. How to get a SOAP response from it.
    I need to fetch few values from the SOAP response and display it on screen.
    Please help me out. I am noob in ADF.
    regards,
    Rajan

    Hi Puthanampatti,
    I followed the link and did exactly as mentioned. Here is my code
    public String downloadDocument(FacesContext context, OutputStream out) throws IOException {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding retrieveDocumentBinding = bindings.getOperationBinding("RetrieveDocument");
    DCIteratorBinding attachmentsIterator = (DCIteratorBinding)bindings.get("AttachmentsIterator");
    String documentId = attachmentsIterator.getCurrentRow().getAttribute("Seq").toString();
    System.out.println(customSoapProvider.getRequest()); // getting null here
    AttributeBinding docFileTypeVal = (AttributeBinding)bindings.getControlBinding("docId");
    docFileTypeVal.setInputValue(522117);
    Object result = retrieveDocumentBinding.execute();
    System.out.println(customSoapProvider.getResponse()); //getting null here
    but I am getting a null response in the last line.
    what am I missing here.
    regards,
    Rajan
    Edited by: Rajan M on Jan 5, 2013 11:27 AM

  • Error in Executing Web Service

    Hello All,
    I am trying to execute a webservice from R/3 transaction wsadmin. I selected my webservice and clicked on execute. I selected Document style in WSDL style. It opens a new browser window. But upon opening it, it gives following error:
    Cannot download WSDL from http://<host>:8000/sap/bc/srt/rfc/sap/<ztest_service>?sap-client=<client>&wsdl=1.1: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator
    I am not getting how to get rid of this error. Can anyone please help me on this?
    Thank you,
    Ameya

    I was just wondering if i am missing some authorizations from portal side. Ideally, once deployed the webservice should be visible in VA --> Webservice container. I didnt see entry for my web service here. So i thought to ask if we have to configure something from portal side or some more authorizations needed? Thanks for replying. If there is nothing to be done from portal side, i will re-post this question in ABAP forums. Can u tell me what would be the proper place to re-post it?
    Ameya

  • Getting Error when executing Web Service Model method in WD Application

    hi ,
       I have written WD Application which has Web Service Model(Deprecated). I did the context mapping between WS Model-->Comp Controller --> iView Controller. When i try to execute a method in Web Service method in Component Controller after binding. its shows the following error at the line of coding execute().
    "java.lang.NoSuchMethodError: com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub._initParameter(Lcom/sap/engine/services/webservices/jaxrpc/wsdl2java/ServiceParam;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
    Any help appreciated. Thanks.
    Thanks,
    Saravanan

    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

  • IllegalArgumentException while executing Web Service

    hi all
    For a project, i made a group of RFCs as a Web Service and used it as Adaptive Web Service with the metadata and execution destination, and configured these destinations in Visual Administrator. Everything is working fine till now.
    Now all the developments related to this project; ABAP codes transport, web service transport and Web Dynpro code have been deployed on the testing server. I configured the metadata and execution destination in the new server, but now when i execute the web service, i get an exception saying
    java.lang.IllegalArgumentException:
    Cannot perform write operation 'setRelatedModelObject' on target role:
    Class 'ZcfcCommentsSearch' is not compatible to
    class 'ZcfcCommentsCreate' of
    target role 'ZcfcCommentsSearch' in
    model class 'Request_ZcfcCommentsSearch' 
    after looking around web service of development server, testing server, and model of web service generated in web dynpro java; I figured out that the sequence of rfcs (wsdl:operation) and input/output structure (wsdl:message) in the WSDL of web service of development and testing server is different; the model generated in the web dynpro uses the position to fill the data in the web service.
    Since the sequence is different in the web service (wsdl) of testing and development server are not same, web dynpro is giving the above mentioned exception, whenever i try to execute the web service.
    how can i make sure, whatever the backend is, the web dynpro is able to successfully execute the web service.
    Thanks & Regards
    Vivek
    PS: I am also posting this same problem in ABAP forum because I fill, one way of solving this problem is by transporting the web service in such a way that the sequence of rfc is not changed.

    hi all
    For a project, i made a group of RFCs as a Web Service and used it as Adaptive Web Service with the metadata and execution destination, and configured these destinations in Visual Administrator. Everything is working fine till now.
    Now all the developments related to this project; ABAP codes transport, web service transport and Web Dynpro code have been deployed on the testing server. I configured the metadata and execution destination in the new server, but now when i execute the web service, i get an exception saying
    java.lang.IllegalArgumentException:
    Cannot perform write operation 'setRelatedModelObject' on target role:
    Class 'ZcfcCommentsSearch' is not compatible to
    class 'ZcfcCommentsCreate' of
    target role 'ZcfcCommentsSearch' in
    model class 'Request_ZcfcCommentsSearch' 
    after looking around web service of development server, testing server, and model of web service generated in web dynpro java; I figured out that the sequence of rfcs (wsdl:operation) and input/output structure (wsdl:message) in the WSDL of web service of development and testing server is different; the model generated in the web dynpro uses the position to fill the data in the web service.
    Since the sequence is different in the web service (wsdl) of testing and development server are not same, web dynpro is giving the above mentioned exception, whenever i try to execute the web service.
    how can i make sure, whatever the backend is, the web dynpro is able to successfully execute the web service.
    Thanks & Regards
    Vivek
    PS: I am also posting this same problem in ABAP forum because I fill, one way of solving this problem is by transporting the web service in such a way that the sequence of rfc is not changed.

  • NullPonterException while executing web service

    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta. If I
    try to use JMS-XML method of invoking web service, the whole process seems ok.
    My code in method of a web service executes without problems, but the service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263) at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by: java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    .. 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it ends with
    the response given above), but if I use a workshop platform, web service never
    starts. If I look at the jws.queue monitoring on weblogic console, I can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my weblogic
    domain doesn't accept the system property weblogic.webservice.verbose. When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which were put
    there into my start script by configuration wizard. The server runs in development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

    Please post this on the Workshop (WLW) newsgroup.
    Regards
    Shridhar
    "Srecko Mandelj" <[email protected]> wrote:
    >
    Hello, all.
    I have a strange problem with web services created via workshop 8.1beta.
    If I
    try to use JMS-XML method of invoking web service, the whole process
    seems ok.
    My code in method of a web service executes without problems, but the
    service
    response is as follows:
    Service Response Submitted at Fri Jul 11 14:20:11 CEST 2003 <error> <faultcode>JWSError</faultcode>
    <faultstring>java.lang.NullPointerException</faultstring> <detail> com.bea.wlw.runtime.core.dispatcher.ResponseValidationException:
    java.lang.NullPointerException at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:37)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:185)
    at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:45)
    at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:124)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl.invoke(SyncInput_l1w9sx_EOImpl.java:46)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLSkel.invoke(Unknown
    Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:291)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at com.bea.wlw.runtime.core.bean.SyncInput_l1w9sx_EOImpl_WLStub.invoke(Unknown
    Source) at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:143)
    at com.bea.wlw.runtime.jws.bean.JMSTransportBean.onMessage(JMSTransportBean.java:113)
    at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364) at
    weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
    at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:263)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2514)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:2442) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151) Caused by:
    java.lang.NullPointerException
    at com.bea.xml.marshal.MarshalContext.init(MarshalContext.java:38) at
    com.bea.wlw.runtime.core.dispatcher.DispMessage.marshalXml(DispMessage.java:408)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writePart(MimeXmlResponse.java:108)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.writeOutputPart(MimeXmlResponse.java:98)
    at com.bea.wlw.runtime.jws.dispatcher.MimeXmlResponse.setReturnValue(MimeXmlResponse.java:33)
    ... 18 more
    </detail> </error>
    The next problem is that if I create a web service with JMS-XML method
    and test/deploy
    it on platform domain of weblogic 8.1 beta, it invokes normaly (and it
    ends with
    the response given above), but if I use a workshop platform, web service
    never
    starts. If I look at the jws.queue monitoring on weblogic console, I
    can see the
    messages there, but no consumer is present.
    This is not the last problem I am facing. The next problem is that my
    weblogic
    domain doesn't accept the system property weblogic.webservice.verbose.
    When I
    try to start weblogic, the console says:
    <2003.7.14 17:36:32 CEST> <Warning> <Management> <BEA-141087> <Unrecognized
    property:
    webservice.verbose.>
    I get the same message for jws.logging and jws.ProductionMode, which
    were put
    there into my start script by configuration wizard. The server runs in
    development
    mode and it is a platform domain server.
    Help in advance for all the answers.
    Best regards, Srecko Mandelj.

  • Executing Web Service Methods

    Hi,
    I have an EJB deployed to the PI 7.1 server.
    How do I execute methods of the Webservice from external SOAP Clients??
    I have tested it via WS Navigator and it works fine.
    Is there any additional config that must be done to make it publicly available??
    This is the WSDL URL
    http://orcdapp1:51100/EarlBean1ClassService/EarlBean1Class?wsdl&mode=ws_policy
    Cheers,
    Earlence

    Hi David,
    Login your portal as administrator and navigate to
    System Administration -> Support -> Support Desk -> Portal Runtime -> SOAP Admin.
    Here you can download WSDL of your web service.
    You can also call your web service via URL directly - the responce is also WSDL file.
    Regards,
    Roman.

  • Can not execute web service out of vc modelled in nwds

    Hi,
    I am working on CE 7.11 and modelled in NWDS a VC model. I am using several web services. The web services was found by Service Registry and could be added to the vc model without any problems.
    But when I deploy my vc model and try to execute a service I got two errors:
    Error occurred while identifying the destination : Destination CE2 not found
    Error occurred during Destination Lookup
    I know that I have to set something, somewhere but I do not know where. I could cry!
    May somebody help me please?
    Regards

    Hi,
    thats really crazy. You lead me to a new thinking and after hours I got my example running!
    In NWDS:
    When I search and add the web service over the Service Registry and right click at the method > Configure > Target Component I see that NWDS takes as System alias "CE2". Thats wrong because, actually it should take the service name!
    To handle this problem at Window > Preferences > Web Service Configuration I define new service, refresh my service search in NWDS and add it to the model. Now at "Configure > Target Component" I have the correct system alias.
    As final step I only have to define in NWA a HTTP Destination with the exactly same name as defined in System alias.
    But do you know why NWDS takes wrong "System alias" over Service Registry menue?
    Regards

  • No Log entry while executing web service

    Hi,
    I have a web service which is deployed successfully to a server in the Weblogic
    Workshop domain.
    When I try to test the methods of the web service using the Test form, sometimes,
    I get a message 'No Log Entry'. When I reploy the application, it starts working
    properly.
    There is no problem with the code. Could someone please tell me as to why I might
    be getting the 'No Log Entry' message randomly.
    Thanks,
    Aparna

    My guess is that you are using the tutorial "Creating a SOAP Web Service". This one has a couple of errors in it:
    1. The directory it tells you to deploy the class to the following location:
    <JDeveloper_home>\soap\webapps\soap\soap\WEB-INF\lib
    when in fact it should be:
    <JDeveloper_home>\soap\lib\soap\soap\WEB-INF\lib
    2. This tutorial also says you do not have to re-start OC4J; in this case you do.
    If you are doing the J2EE Web service tutorial a re-start should not be required. One other potential cause of this kind of error can be because your proxy server is set on in Tools->Preferences->Proxy Server. Turn it off and this might fix the problem - my guess, however, is that your problem is either with step 1 or step 2 above.
    Mike.

  • Error During Executing Web Service

    Hi;
    I try to call a web service within pl/sql. I wrote a pl/sql block; but i am getting error. Code and error message are below:
    DECLARE
      ws_service      UTL_DBWS.service;
      ws_call         UTL_DBWS.CALL;
      ws_wsdl_url     uritype;
      ws_request_xml  xmltype;
      ws_response_xml xmltype;
    BEGIN
      ws_wsdl_url     := urifactory.getUri(url => 'http://10.85.249.85:1112/ws?WSDL');
      ws_service      := utl_dbws.create_service(ws_wsdl_url, NULL);
      ws_call         := utl_dbws.create_call(ws_service);
      ws_request_xml  := xmltype('<?xml version="1.0" encoding="UTF-8"?><ns0:WSMessage xmlns:ns0="http://10.85.249.85/schemas"><ns0:WSHeader ACTION="UPDATE"/><ns0:WSPayload><ns0:Attribute name="123456" value="test"/></ns0:WSPayload></ns0:WSMessage>');
      ws_response_xml := utl_dbws.invoke(ws_call, ws_request_xml);
      utl_dbws.release_call(ws_call);
      utl_dbws.release_service(ws_service);
      dbms_output.put_line(ws_response_xml.getstringval);
    END;
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: java.lang.NullPointerException
    ORA-06512: at "SYS.UTL_DBWS", line 159
    ORA-06512: at "SYS.UTL_DBWS", line 156
    ORA-06512: at line 9

    I worked on it. I changed some of my code but I am getting an error again:
    DECLARE
      ws_service      UTL_DBWS.service;
      ws_call         UTL_DBWS.CALL;
      ws_wsdl_url     uritype;
      ws_request_xml  xmltype;
      ws_response_xml xmltype;
    BEGIN
      ws_wsdl_url     := urifactory.getUri(url => 'http://10.85.249.85:1112/ws?WSDL');
      ws_service      := utl_dbws.create_service(ws_wsdl_url, 'WS');
      ws_call         := utl_dbws.create_call(ws_service, NULL, 'process');
      utl_dbws.set_property(ws_call, 'OPERATION_STYLE', 'DOCUMENT');
      ws_request_xml  := xmltype('<ns0:WSMessage xmlns:ns0="http://10.85.249.85/schemas"><ns0:WSHeader ACTION="UPDATE"/><ns0:WSPayload><ns0:Attribute name="123456" value="test"/></ns0:WSPayload></ns0:WSMessage>');
      ws_response_xml := utl_dbws.invoke(ws_call, ws_request_xml);
      utl_dbws.release_call(ws_call);
      utl_dbws.release_service(ws_service);
      dbms_output.put_line(ws_response_xml.getstringval);
    END;
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Failed to invoke end componentFailed to invoke method
    ORA-06512: at "SYS.UTL_DBWS", line 403
    ORA-06512: at "SYS.UTL_DBWS", line 400

  • Error while executing web service proxy

    hi all,
    i want to execute some enterprise service from enhancement package 2 (customer fact sheet).
    Everything works fine.
    But one enterprise service won't work. The service is activated (SICF).
    ECC_CUSTOMERIDQR
    If start the proxy the following error occured:
    <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
      <SYSTEMFAULT href="#o75" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_AI_SYSTEM_FAULT id="o75">
    - <CX_ROOT>
      <TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>
      <PREVIOUS href="#o72" />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>183</PROGID>
      <CONTID>564</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>SERIALIZE_APPLICATION_DATA</CODE>
      <ERRORTEXT>Conversion error ABAP => XML (Request Message; error ID: CX_ST_REF_ACCESS; (/1SAI/TAS XML Bytepos.: 0 XML Path: Error Text: Error accessing the ref. node 'SALES_ARRANGEMENT') )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    - <cls:CX_XMS_SYSERR_PROXY id="o72">
    - <CX_ROOT>
      <TEXTID>EA4E63A1C840484AAF087F129864ADA6</TEXTID>
      <PREVIOUS href="#o66" />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>0</PROGID>
      <CONTID>0</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_XMS_SYSTEM_ERROR>
      <ID>SERIALIZE_APPLICATION_DATA</ID>
      <P1>Request Message</P1>
      <P2>CX_ST_REF_ACCESS</P2>
      <P3>/1SAI/TAS</P3>
      <P4>XML Bytepos.: 0 XML Path: Error Text: Error accessing the ref. node 'SALES_ARRANGEMENT'</P4>
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
    - <cls:CX_ST_REF_ACCESS id="o66">
    - <CX_ROOT>
      <TEXTID>90A40E455E608D4D9DF1C01C4E90C6D9</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>203</PROGID>
      <CONTID>1112</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_DYNAMIC_CHECK />
      <CX_TRANSFORMATION_ERROR />
    - <CX_ST_ERROR>
      <ST_PROGNAME>/1SAI/TAS</ST_PROGNAME>
      <X-ML_OFFSET>0</X-ML_OFFSET>
      <X-ML_PATH />
      <ST_IC>38</ST_IC>
      <ST_TIMESTAMP>20071024144356</ST_TIMESTAMP>
      </CX_ST_ERROR>
    - <CX_ST_REF_ACCESS>
      <REF_NAME>SALES_ARRANGEMENT</REF_NAME>
      </CX_ST_REF_ACCESS>
      </cls:CX_ST_REF_ACCESS>
      </asx:heap>
      </asx:abap>
    regards

    hi,
    there was an authorization problem.
    regards

  • Error while executing Secure SOAP web service from Web Service Navigator

    Hi All,
    I have created a web service for a stateless session bean choosing option "Secure SOAP".
    When I am testing it through web service navigator, it is showing following error:-
    Security: Authentication expected but missing
    And in response text it is showing following :-
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Wed, 17 Dec 2008 05:42:10 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Security: Authentication expected but missing</faultstring><detail><ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException xmlns:ns1='http://sap-j2ee-engine/error'>Security: Authentication expected but missing</ns1:com.sap.engine.interfaces.webservices.runtime.ProtocolException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Can anybody help me with above thing?
    And my second question : I have created web service with "Basic Auth SOAP" option. and while executing at web service navigator, its asking for username & password.
    What role / right should be granted to this user so as to make him able to execute this web service? This user must be a UME user, correct?
    Pls help me in resolving this.
    Thanks and regards,
    Amey Mogare

    Hi Fazal,
    I have read the thread, but my questions are still unanswered.
    1. I know how to set username and password while using "Basic Auth SOAP" protocol. But my question in this case is what are the accesses user requires to be able to execute web service.
    2. And about Secure SOAP, why is above mentioned error is appearing?
    Thanks and regards,
    Amey Mogare

  • Web Service - Expose BI data

    Hi,
    We are in BI 7, trying to expose BI data using QUERY_VIEW_DATA.
    I did basic configurations using Tcode - SICF.
    In WSADMIN, when I execute
    " Web Service QUERY_VIEW_DATA default_host/sap/bc/srt/rfc/sap/ QUERY_VIEW_DATA " getting following error message:
    "You are not authorized to view the requested resource"
    Also verified with basis team the J2EE server address, They confirmed my configuration values correct in Tcode - WSADMIN (goto--> Administration Settings), Soap runtime version is - v1.00_final_6.40
    Is there any basic documents available to verify existing configuration.., also what are the Authorization objects required to perform this.
    Appreciate, if any documents or solution provided to over come above issue.
    Thanks,
    Madhu

    Hi Arun,
    Thanks for Information. After Adding WSNavigatorRole, previous error is not coming.
    Now there is new error : Cannot download WSDL from http://...servername.com:port/sap/bc/srt/rfc/sap/QUERY_VIEW_DATA?sap-client=020&wsdl=1.1: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator .
    If we call  the above URL directly, you will be able to access the file.
    What might be the issue...
    Thanks in advance,
    Madhu

Maybe you are looking for