Axis error when calling deployed service on weblogic

Hi,
I am trying to deploy the simple HelloWorld service using an .ear file on the weblogic8.1 server. But when I am trying to call the service, its giving me the error:
**Fault - ; nested exception is:**
** org.apache.axis.ConfigurationException: Could not find class for the service named: com.tutorial.Hello**
**Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:**
** java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.tutorial.Hello'**
**AxisFault**
**faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException**
**faultSubcode:**
**faultString: Could not find class for the service named: com.tutorial.Hello**
**Hint: you may need to copy your class files/tree into the right location (which depends on the servlet system you are using).; nested exception is:**
** java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.tutorial.Hello'**
From what I read, the problem seems to be associated with the deploy.wsdd file. Hence I am giving the description of that file below:**
**<?xml version="1.0" encoding="UTF-8"?><!-- Use this file to deploy some handlers/chains and services --><!-- Two ways to do this: --><!-- java org.apache.axis.client.AdminClient deploy.wsdd --><!-- after the axis server is running --><!-- or --><!-- java org.apache.axis.utils.Admin client|server deploy.wsdd --><!-- from the same directory that the Axis engine runs --><deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">**
**<!-- Services from HelloService WSDL service -->**
**<service name="Hello" provider="java:RPC" style="rpc" use="encoded">**
**<parameter name="wsdlTargetNamespace" value="http://tutorial.com"/>**
**<parameter name="wsdlServiceElement" value="HelloService"/>**
**<parameter name="wsdlServicePort" value="Hello"/>**
**<parameter name="className" value="com.tutorial.Hello"/>**
**<parameter name="wsdlPortType" value="Hello"/>**
**<parameter name="typeMappingVersion" value="1.2"/>**
**<operation xmlns:operNS="http://tutorial.com" xmlns:rtns="http://www.w3.org/2001/XMLSchema" name="sayHello" qname="operNS:sayHello" returnQName="sayHelloReturn" returnType="rtns:string" soapAction="">**
**<parameter xmlns:tns="http://www.w3.org/2001/XMLSchema" qname="name" type="tns:string"/>**
**</operation>**
**<parameter name="allowedMethods" value="sayHello"/>**
**</service>**
**</deployment>**
Please let me know where do I need to make the changes or give some hint towards this error.
-Sourik

Hi Alex,
This link would give u the reason of the error
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Also have a look at this note
SAP Note 857596 - Message server: Status code for redirect requests
Regards,
Prateek
Message was edited by:
Prateek Srivastava

Similar Messages

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • Error when accessing Tuxedo Services from Weblogic

    Hi,
    I have a stateless session bean deployed on Weblogic 10.3.5 . I have a WTC Server configured to connect to my Tuxedo server.I have all the local and remote AP's set on this server also.
    Now I am trying to access Tuxedo server from a method in my deployed EJB. Method looks like this
    ========================================================================================
    Context ctx;
         TuxedoConnectionFactory tcf;
         TuxedoConnection myTux; // For now we get it via NEW until the Factory works
         TypedString myData;
         Reply myRtn;
         int status;
         System.out.println("getData called, converting " + toConvert);
         try {
         ctx = new InitialContext();
         tcf =
         (TuxedoConnectionFactory) ctx.lookup("TuxedoConnectionFactory");
         } catch (NamingException ne) {
         // Could not get the tuxedo object, throw TPENOENT
         throw new TPException(TPException.TPENOENT,
         "Could not get TuxedoConnectionFactory : " + ne);
         myTux = tcf.getTuxedoConnection();
         myData = new TypedString(toConvert);
         System.out.println("About to call tpcall");
         try {
         myRtn = myTux.tpcall("TOUPPER", myData, 0);
         } catch (TPReplyException tre) {
              System.out.println("tpcall threw TPReplyExcption " + tre);
         throw tre;
         } catch (TPException te) {
              System.out.println("tpcall threw TPException " + te);
         throw te;
         } catch (Exception ee) {
              System.out.println("tpcall threw exception: " + ee);
         throw new TPException(TPException.TPESYSTEM, "Exception: " + ee);
         System.out.println("tpcall successfull!");
         myData = (TypedString) myRtn.getReplyBuffer();
         myTux.tpterm(); // Closing the association with Tuxedo
    ========================================================================================
    I get following error when i call the above method from my client for EJB.
    ========================================================================================
    TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not get TuxedoConnectionFactory : javax.naming.NameNotFoundException: Unable to resolve 'TuxedoConnectionFactory'. Resolved ''; remaining name 'TuxedoConnectionFactory'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at sfsb3.ReplicableSFSB_6ri454_ReplicableSFSRemoteIntfImpl_1035_WLStub.getData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy0.getData(Unknown Source)
         at test.TestDemoClient.main(TestDemoClient.java:37)
    ========================================================================================
    I need to resolve this quickly please.
    Thanks for any help
    Regards,
    Awais

    I'm not very familiar with Tuxedo unfortunately.
    I recommend that you post here:
    Could not get TuxedoConnectionFactory, setting up AP's incorrectly?
    You could also start with the code here:
    Where to Download weblogic.wtc.jatmi Library/Package
    And follow the instructions here:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13756.pdf

  • Communication error when calling web service for checkin and checkout files

    Hello,
    I am trying to checkout  and also to checkin files within the DMS via web service. The files are stored in the VAULT (=TRESOR) without the data server parth and DVA computer.
    For checkout:
    Original zum Ändern auschecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTMODIFY2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          documentfile    = lf_documentfiles
          pf_http_dest    = ''
          pf_ftp_dest     = ''
        statusextern    = lf_status
        IMPORTING
          return          = lf_return
          checkedoutfile  = ls_checkedoutfile.
    and for checkin:
    Dokument einchecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          hostname        = ''
          statusintern    = ''
       statusextern    = lf_status
          statuslog       = ''
        IMPORTING
          return          = lf_return
        TABLES
          documentfiles   = lt_files.
    But it is not working cause I always get a 'communication error' from the function CV120_FTP_START_REG_SERVER when calling one of these BAPIs via web service:
    IF pf_check_gui = 'X'.
        CLEAR: gf_gui_exist,
               gf_gui_checked.
        CALL FUNCTION 'RFC_PING'
             DESTINATION 'SAPGUI'
             EXCEPTIONS: communication_failure = 1 MESSAGE lf_msg_text
                         system_failure        = 2 MESSAGE lf_msg_text.
        IF sy-subrc = 0.
          gf_gui_exist = 'X'.
        ELSE.
          CLEAR gf_gui_exist.
        ENDIF.
        gf_gui_checked = 'X'.
      ENDIF.
    Afterwards the following function is called where I got the error 'Program no longer started via RFC. No return possible.':
    -> Vault with DVA -> ** Start FTP on the client
      CALL FUNCTION 'SYSTEM_START_REG_SERVER'
           EXPORTING: progname    = 'sapftp'
                      startmode   = ''                          " X
                      exclusiv    = 'Y'
                      waittime    = 500
                      startcomp   = 'C'    " G=gui, C=RFC
                      startpara   = ' '
          IMPORTING: err_code    = lf_errno
                     err_mess    = lf_error_msg
                     destination = pfx_destination.
    Regards
    Jens

    Hi! As mentioned below I had the same problem.
    There are two notes concerning security setting of the SAP Gateway:
    1069911 - GW: Changes to the ACL list of the gateway (reginfo)
    1480644 -  gw/acl_mode versus gw/reg_no_conn_info
    Your basis team should check if the Gateway settings allow external programs to register on the gateway.
    Best regards
    Dominik

  • Errors when Automatically Deploying Planning into WebLogic 9.1

    Dears,
    I have installed Planning 9.3.1 on the Solaris OS.(SPARC 64-bit)
    But when I want to deploy Planning into WebLogic 9.1 automatically. It has failed to deploy application "HyperionPlanning".
    Please let me know if anyone has some ideas.
    Thanks for your help.
    Sophia

    Hi,
    Is planning supported on 64bit SPARC ?
    You may have to manually deploy planning into weblogic.
    Sorry I can't help further.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • TPESYSTEM error when calling tuxedo service

    Hello,
    I have a problem when running my own EJB as a TUXEDO service using WTC.
    Im using TUXEDO 8.1 and WL 8.1.
    My TUXEDO and WTC configuration seems OK, because TOLOWER example is running OK.
    When im trying to run my own EJB as a TUXEDO service on TUXEDO side TPESYSTEM
    error appears.
    JDNI name and configuration of the EJB is correct, because when I put wrong JNDI
    then on TUXEDO side TPENOENTRY error appears. Additionally - my EJB's bussines
    logic is pretty the same as TOLOWER example.
    I think that is EJB issue because in server logs there is an information that
    domains are connected but ejbCreate method isn't called. My EJB was developed
    using JBuilder 9 WebLOgic Edition and WL Workshop 8.1.
    Thanks,
         Patrick

    Hi Hemant,
    I'm not sure, but my guess is it was a setup problem. Perhaps not implementing the right interface in the EJB, not having the correct home specified, etc.
    Usually the best way to find these errors the first time is to turn on some debugging information in WLS. More information can be found at: http://edocs.bea.com/wls/docs91/wtc_admin/Install.html
    For this sort of problem, it probably makes sense to enable -Dweblogic.debug.DebugWTCGwtEx=true and/or -Dweblogic.debug.DebugWTCJatmiEx=true
    The above examples are for WLS 9.1 and later. For earlier releases of WLS, check edocs for the settings of weblogic.wtc.TraceLevel
    Best Regards,
    Todd Little
    BEA Tuxedo Chief Architect

  • Error when calling bpm service from custom component

    Hi all,
    I have built a custom component in order to fetch task related data by calling a bpm service inside the method of my custom service.
    This is the error trace i got in audit info.
    "not loading page MSG_PAGE because it is up to date with timestamp 1324331008000
    Script stack dump (user: abc, request: IdcService=CUSTOM_SERVICE&dDocName=ABC018005)
    No resource include or function stack for error. "
    What does this error signify?
    In the service definition of my custom service, I am using MSG_PAGE as my template. Is it related to this why i am facing the error? how do i get to know for a particular  functionality i should use a particular template?
    Please provide your inputs asap.
    Thanks in advance.

    HI jiri,
    Please have a look at the stacktrace and provide me a solution as in how to overcome the error.
    I had included Report.trace in order to check the flow of the program and found that the problem arises when i establish the connection.
    Caused by: java.lang.IllegalArgumentException: interface bpmpackage.TaskQueryService is not visible from class loader
             at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
             at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
             at weblogic.wsee.jaxws.spi.ClientInstance.createProxyInstance(ClientInstance.java:143)
             at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:855)
             at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
             at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:792)
             at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
             at javax.xml.ws.Service.getPort(Service.java:92)
             at bpmpackage.TaskQueryService_Service.getTaskQueryServicePort(TaskQueryService_Service.java:97)
             at package.BPMConnection.getService(BPMConnection.java:58)
             at package.classname.fetchTasks(classname.java:239)
             at package.classname.InboundServiceMethod(classname.java:311)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:597)
             at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
             at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
             at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    Thanks in advance.

  • Error when calling Web Service from Adobe Form

    Hi all,
    I need to invoke a Web Service from my Adobe Interactive Form. I have merged the WSDL files, following the steps in this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
    But when I press the corresponding button in order to call the web service, I get the following error:
    "Error trying to read file.
    http://<my_host>:51000/<my_WS>/Config1?style=document"
    It seems to be an error in my configuration, because I'm sure that I have followed all steps in the previous PDF.
    Any idea?
    Thanks.

    Well, I think so... I've followed all the steps, and my merged WSDL file seems like the one in page 12...
    Any suggestion, please?
    Thank you,

  • Error When Calling Web Service

    I have Oracle9i JDeveloper Release 2 (Version 9.0.2.829) installed along with embedded OC4J server. I followed tutorial of "Creating and Using Web Service" and failed when I tried to run DateTimeClient that calls the web service. The error message (see below) is very similar to the ones that some people have encountered in creating SOAP connection I have seen quite a few questions/answers from the Forums. I need to mention that I did test the OC4J server and SOAP server before I ran the DateTimeClient using
    (1)     http://127.0.0.1:8888/
    (2)     http://127.0.0.1:8888/soap/servlet/soaprouter
    and they all get expected information back.
    The error message is as follows:
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html&quot;, must be: &quot;text/xml&quot;. Response was:
              &lt;DIV class=Section1&gt;
              &lt;P class=MsoNormal
              style=&quot;mso-list: none; mso-list-ins: &apos;&apos; 19991102T2025&quot;&gt;&amp;nbsp;
                                 if this problem persists, and provide the team your
                                  account information.&lt;/P&gt;
                 &lt;/TD&gt;
                 &lt;/T
         java.lang.String org.apache.soap.rpc.Call.getEnvelopeString(org.apache.soap.transport.SOAPTransport)
         org.apache.soap.rpc.Response org.apache.soap.rpc.Call.invoke(java.net.URL, java.lang.String)
         java.lang.String datetimeclientpackage.DateTimeClientStub.getDate()
         void datetimeclientpackage.DateTimeClient.main(java.lang.String[])
    Exception in thread main
    Process exited with exit code 1.
    Your solution/feedback regarding this problem is very much appreciated.
    Hao Xu

    After I read the notes written by Michael Lehmann (Title: How can I setup a soap server for use in JDeveloper 9i), I realized I need to turn off the proxy from JDeveloper. After that everything works.
    Thank you, Michael!
    - Hao

  • SSL handshake error when calling Web Service

    Hi Grant,
    I am using your example here:
    http://groundside.com/blog/GrantRonald.php?title=calling_a_web_service_from_oracle_forms__2&more=1&c=1&tb=1&pb=1
    to call a web service from forms 10g on a machine with no proxies set up.
    I get to the point where I click the button that calls this code:
    DECLARE
         jo ora_java.jobject;
         xo ora_java.jobject;
         rv varchar2(100);
         --rv number;
         ex ora_java.jobject;
    BEGIN
         jo := SendServiceSoapClient.new;
         rv := SendServiceSoapClient.sendMessage(jo,'07000000000', 'Test text message from Forms', xo, xo);
    --     rv := SendServiceSoapClient.sendMessage(jo,:block6.number_to_text, :block6.text_msg, xo, xo);
    EXCEPTION
         WHEN ORA_JAVA.JAVA_ERROR then
                        message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
         WHEN ORA_JAVA.EXCEPTION_THROWN then
                        ex := ORA_JAVA.LAST_EXCEPTION;
         --     message(Exception_.toString(ex));
         --     message(Exception_.toString(ex));
         :block6.item11 := Exception_.toString(ex);
    END;
    I then get the message:
    java.rmi.RemoteException: ; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: javax.net.ssl.SSLException: SSL handshake failed: X509CertChainIncompleteErr
    My Jinitiator box says:
    Loading http://xpjdev11g.uk.conde-nast.biz:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://xpjdev11g.uk.conde-nast.biz:8889/forms/java/wsarchive3.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Please note additional steps:
    I have tried to sign my JAR file (called wsarchive3.jar) - not sure if I have it done it correctly??
    I have added the JAR file in the system CLASSPATH
    I have added the JAR file to formsweb.cfg
    If you could help with the SSL error, I'd greatly appreciate it. Thanks.

    Let me check - have you got the "HOW TO" I created working when you use the following WSDL
    http://www.esendex.com/secure/messenger/soap/SendService.asmx?wsdl
    Does this work ok from Forms?
    The reason I ask is there is an HTTP web service (which is what the how to documents) but there is also and HTTPS versions - if you are getting errors about SSL it might be you are using the HTTPS version
    I just want to make sure I understand what you have and have not working so far.
    Grant

  • Serialization error when calling web service method

    Hi,
    In JDeveloper 10.1.3.1, I'm working on an EJB that will be deployed as a web service. There is a method in the EJB that is defined to return a generic Object, but in the implementation, it really returns one of several possible specialized bean objects. I can deploy the EJB successfully to IAS 10.1.3.1.
    I created a web service proxy from the wsdl that was generated from deploying the EJB. Using the proxy, I try to call the EJB method and cast the method's return value to the bean object I know should be returned. However, I get an error like this:
    java.rmi.ServerException:
    start fault message:
    Internal Server Error (serialization error: no serializer is registered for (class com.test.TestBean, null))
    :end fault message
    Does anyone know how this serialization error can be resolved? If I change the web service method signature to return the bean object that is actually being returned (instead of Object), then it works fine. But I want to be able to define the method to return a generic Object because I plan to make the method flexible enough to return several different types of bean objects. Whenever the client calls the method, it will know what is the actual object being returned and I had planned to cast the return value to its actual class.
    Thanks for any ideas.

    Well, I think so... I've followed all the steps, and my merged WSDL file seems like the one in page 12...
    Any suggestion, please?
    Thank you,

  • Coonection reset error when calling web services

    Hi,
    I am newbie to web services.
    I am calling the web service in my application.
    I had imported the certificates into my runtime JVM using keytool and having the host entry also.
    While hitting our application (where I am calling the external web service), the following connection reset error is logged in the console,
    WebServicesFault
    faultCode: Server.generalException
    faultString: java.net.SocketException: Connection reset
    faultActor: null
    faultDetail:
    java.net.SocketException: Connection reset
    at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:156)
    at com.ibm.ws.webservices.engine.transport.http.HTTP11Sender.invoke(HTTP11Sender.java:294)
    Can anybody help me to trace this problem? what could be the cause for this? Did it require any other configuration such as in java.security , java.policy?
    Help me.
    Thanks in advance.
    Alice.

    If you attempt to retry the stalled component through adminui, it will work. Am i correct?
    If so, you can test the following approach.
    1. drag a blank component (e.g a decision point)
    2. connect a line between the exception of the Web Service Invoke operation to the decision point.
    3. Choose java.io.IOException from the eeception drop down.
    4. again connect the decision point back to the web service invoke component. (i mean a looping)
    This approach was working fine with me.
    Please see the attached image shows my routing.
    PS: After a couple of days, I tested without looping and it seems to be working. So I removed the loop now.
    Thanks,
    Nith

  • Error when calling Web Service in SAP Netweaver side.

    An error occurred while trying to make a request to URI 'http://us4184.wdf.sap.corp:1080/sap/bc/srt/wsdl/sdef_WS_SSC_USR_GET_USER_LIST/wsdl11/ws_policy/document?sap-client=000'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.
    Does anybody know where can I put the cross-domain policy in Netweaver platform?
    Best regards,
    Anders

    Hi Anders,
    The resolution of the crossdomain problem is not to store an cross-domain-policy file at the [SAP] webservice side; but instead it needs to be done at the (every...) webservice client. In case the client is an IIS based webapplication (and thus the ultimate end-users are accessing it via their browser), this is not such an issue. It there is sufficient to put an crossdomain.xml policy file in the IIS main virtual root of your 'client' .net webapplication (c:\inetpub\wwwroot). It also can be required or at least helpful to put a clientaccesspolicy.xml file; both at the main virtual root and in the virtual root of the specific webapplication
    In case of SharePoint application, the crossdomain.xml file must be stored in the WSS virtual root of that site; c:\inetpub\wwwroot\wss\virtualdirectories\<your SharePoint webapp>
    Best regards, William.

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error when processing web service call

    Hello Experts,
    Based on a requirement, I got a URL based on WSDL, using which I created a Consumer Proxy in SAP.
    I created a Logical Port in SOA Manager with type selected as 'WSDL', and didnot gave any authentication id or password in it.
    When I'm trying to execute the proxy class to call the webservice using the logical port, it is asking me a prompt for Userid and Password, and when I press enter, it is throwing an error log as stated below.
    SOAP:1,007 SRT: Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
    (Error when calling SOAP Runtime functions).
    I think I configured the Logical port incorrectly. Is there any specific setting that I missed, I dont know.
    Kindly help me out.
    Thanks,
    Mallik

    Unsupported xstream found: ("HTTP Code 401 : Unauthorized")
    Unsupported xstream means response received from service provider (host) is NOT in valid xml format (usually HTML). You will see this type of error when host or service you are trying to call return HTML (error pages etc).
    HTTP Code 401 : Unauthorized : Clearly means that user/password for service provider is incorrect
    [Click here|http://en.wikipedia.org/wiki/List_of_HTTP_status_codes] to understand all HTTP code
    I am closing this thread, if you have any question post new question in forum.
    Regards,
    Gourav

Maybe you are looking for