Web Service Homepage: Authority check failed

Dear Colleagues,
I have created a Web Service and now I want to test it via its Web Service Homepage (TA WSADMIN). The Homepage is displayed correctly, but testing leads to an error:
Authority check failed
Are there any prerequisites I maybe do not accomplish?
(I tested a very similar web service in another system, and there it works)
Here are some more information about my service:
- Service was build with Web Service Wizzard out of a function module
- Here you can see the conversation resulting of the test:
POST /sap/bc/srt/rfc/sap/Z_TEST_Q73_CONFIG_WS?sap-client=003 HTTP/1.1
Host: bsl8011.wdf.sap.corp:50073
Content-Type: text/xml; charset=UTF-8
Connection: close
Cookie: <value is hidden>
Cookie: <value is hidden>
Authorization: <value is hidden>
Content-Length: 381
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:Z_TEST_WS_CONFIG xmlns:ns1='urn:sap-com:document:sap:rfc:functions'>
<INPUT>TEST</INPUT>
</ns1:Z_TEST_WS_CONFIG>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
HTTP/1.1 500 Internal Server Error
content-type: text/xml; charset=utf-8
content-length: 363
sap-srt_id: 20060404/125124/v1.00_final_6.40/1B0831447838C429E10000000A424016
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Body>
<soap-env:Fault>
<faultcode xmlns:n0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">n0:FailedAuthentication</faultcode>
<faultstring xml:lang="e">Authority check failed</faultstring>
</soap-env:Fault>
</soap-env:Body>
</soap-env:Envelope>
The WSDL-Document looks as follows:
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified"><xsd:simpleType name="char60"><xsd:restriction base="xsd:string"><xsd:maxLength value="60"/></xsd:restriction></xsd:simpleType><xsd:element name="Z_TEST_WS_CONFIG"><xsd:complexType><xsd:sequence><xsd:element name="INPUT" minOccurs="0" type="tns:char60"/></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="Z_TEST_WS_CONFIGResponse"><xsd:complexType><xsd:sequence><xsd:element name="OUTPUT" type="tns:char60"/></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name="Z_TEST_WS_CONFIG"><wsdl:part name="parameters" element="tns:Z_TEST_WS_CONFIG"/></wsdl:message><wsdl:message name="Z_TEST_WS_CONFIGResponse"><wsdl:part name="parameters" element="tns:Z_TEST_WS_CONFIGResponse"/></wsdl:message><wsdl:portType name="Z_TEST_Q73_CONFIG_WS"><wsdl:operation name="Z_TEST_WS_CONFIG"><wsdl:input message="tns:Z_TEST_WS_CONFIG"/><wsdl:output message="tns:Z_TEST_WS_CONFIGResponse"/></wsdl:operation></wsdl:portType><wsdl:binding name="Z_TEST_Q73_CONFIG_WSSoapBinding" type="tns:Z_TEST_Q73_CONFIG_WS"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="Z_TEST_WS_CONFIG"><soap:operation soapAction=""/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="Z_TEST_Q73_CONFIG_WSService"><wsdl:port name="Z_TEST_Q73_CONFIG_WSSoapBinding" binding="tns:Z_TEST_Q73_CONFIG_WSSoapBinding"><soap:address location="http://bsl8011.wdf.sap.corp:50073/sap/bc/srt/rfc/sap/Z_TEST_Q73_CONFIG_WS?sap-client=003"/></wsdl:port></wsdl:service></wsdl:definitions>
Can anyone help me, I have no Idea
Message was edited by: Hans-Peter Bauer

The message server defined in the SAP-Logon is us4278.wdf.sap.corp
But the url of the web service starts with  http://us4185:58500/wsnavigator/jsps/explorer.jsp?description=WebServiceZ_TEST_Q73_CONFIG_WS
But I think that's not the problem, is it? As I mentioned above the test page can be shown, but the after filling in the input parameters an pressing send, there appears the authorisation error.
For better illustration I made some screenshots for you:
1) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_OVERVIEW.gif
2) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_TEST_INPUT_FORM.gif
3) http://wipux2.wifo.uni-mannheim.de/~wi01211/sonstiges/WS_HOMEPAGE_TEST_reqest_response.gif
What can be wrong, if the error "n0:FailedAuthentication" appears?
Regards,
Peter
Message was edited by: Hans-Peter Bauer

Similar Messages

  • Authority Check Failed

    I have created a Web Service for a Function Module in ECC 5.0. I was able to generate the proxy using SE37--> Web Wizard. I can see the Web Service in WSADMIN, WSCONFIG, SICF. 
    I am using the WSADMIN and Test Tool to generate a request for testing the proxy hosted on my ECC 5.0 system. I am finding this particular error relating Authorization. We have granted most of the Authorzations. Any Clue on how to resolve?
    Request Object
    POST /sap/bc/srt/rfc/sap/ZWS_CONCATENATE_STRING?sap-client=100 HTTP/1.1
    Host: sapdbs.foxboro.com:8000
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Authorization: <value is hidden>
    Content-Length: 559
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:Ztest4 xmlns:ns1='urn:sap-com:document:sap:soap:functions:mc-style'><Par1>str1</Par1><Par2>str2</Par2></ns1:Ztest4></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Response Object
    HTTP/1.1 500 Internal Server Error
    Set-Cookie: <value is hidden>
    content-type: text/xml; charset=utf-8
    content-length: 363
    sap-srt_id: 20091117/102452/v1.00_final_6.40/4B02B94392E30041000000000A9BAC6E
    server: SAP Web Application Server (1.0;640)
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode xmlns:n0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">n0:FailedAuthentication</faultcode><faultstring xml:lang="e">Authority check failed</faultstring></soap-env:Fault></soap-env:Body></soap-env:Envelope>
    Thanks.

    Hi,
    This means your userid/password don't have sufficient authorization.
    do following:
    - Grant following authorization using SU01 : *WEBSERVICE* (search for all role with webservice)
    - If above doesn't work then check if your user exist in visual admin secure store (java side). Usually visual admin secure store point to ABAP client for user sync but it is possible it is not configured to right client (instead pointing to client 001).
    - check service with third party tool like SOAP UI (provide ur userid/password as well) - if it is working from here then it means you have problem with userid on java side (use visual admin to troubleshoot).
    Regards,
    Gourav

  • A user that consumes a Web service is authorized to use then in BackEnd?

    Hello,
    I need to help me please
    Can you validate that a user that consumes a Web service is authorized to use this service?.
    I mean, I have a backend system, which has an RFC, which we published in PI as Web Services, and a third application consumes it with SOAP Adapter. How I can check that the user is consuming the service is authorized (role / profile) in the backend to run this service?
    I searched SAML, but I will not check certificates, I need to check that the user is authorized in the backend, do I need IDM?
    Thanks in advance.

    Hello,
    Please go to back end system and see the authorization profile of the user consuming the service. He must have SOAP Run time aurhorization for object S_SERVICE for the specific service. Also, the user needs application authorization for the underlying RFC call.
    Thanks,
    Venu

  • Authority check failed in FT2

    I have tried to implement the PO create example as descriped in the document "Consuming Service Operations using SAP NetWeaver Studio". When I run the example I cannot create an order. I get the error "Authority check failed" when I try to run the example. I have entered the correct password, because, if the password is wrong I get a  (401) Unauthorized from the server.
    I have also tried to make a Webdynpro application which used the same service, with the same result.
    I have also tried with a collages user, which gave the same error.
    In the webgui for the FT2 system, it seems like the user does not have access to the PO create transaction (ME21).

    Hi,
    Which WAS should it be the I configured. The ESA or our own?
    I have configured our own WAS as described in the tutorial. Here I tried to set up the username and password and I was able to send the request.
    But I'm just accessing the test system and it is there I get the error.

  • Problem while opening the Web Service Homepage

    Hi All,
    I have created a Web Service and in Tcode WSADMIN , I am trying to open the Web Service Homepage (Ctrl+F8) and getting an error message "Could not determine WSDL Address(ICF Error)".
    Please suggest...
    Regards
    Pravesh

    Hi,
    In transaction SICF
    <b>/sap/bc/bsp/sap/learning_map</b>
    Choose Activate Service from the context menu.
    Also refer this thread.
    Solution Manager Learning Map http error 403
    Regards,
    Sarvesh

  • Error 1051429. Analytical services Product Existent check Fails

    Hi,
    We want to externalize users from native to shared services.
    Note: The Enviornment is UNIX.
    Following activities were carried out from our end.
    1. Configured database. (Oracle)
    2. Registered with shared services.
    3. Deployed to Application server. (Tomcat)
    4. Ensured that administration services are up after registration.
    5. Ensured shared services are working fine.
    6. Backed up .sec files, config files and bak files from bin directory and deleted all users except admin user from the
    mgt console.
    7. We then went on to externalize the users from the Console. This did not succeed.
    Error message given was:-
    Error 1051429. Analytical services Product Existent check Fails
    against the shared services server with error. [Unable to connect to
        shares services , make sure the shared services is running and try
        again.]
    When we did not succeed we went to user management console and created a new user , gave it all rights and then tried externalizing that user. But that too failed.
    More things done were :-
    1 Changed the netdelay settings in config to 3 hours.
    2 Set unix server time with shared services time in sync.
    3 Re-Registered the Analytical Services as above.
    4 Using management console established sync with analytic services (thru mgt console).
    Nothing works. Hope someone shall provide a solution soon.
    Thanks in advance for the same.
    Regards
    Balakrishnan

    Hi Balakrishnan,
    Just check whether services called 'OpenLdap' and 'Shared Service' are running or not if not then please start them and then try to externize users.
    Atul K,

  • Analytical Services Application Existence Check Fails against the SSH

    Hi guys,
         We have a problem in Essbase 9.3.0.1. Some time, when we try to start the Essbase Server, is not possible to complete the startup sequence with the following error in Essbase.log:
    [Fri Jan 23 01:38:54 2009]Local/ESSBASE0///Error(1051417)
    Analytical Services Application Existence Check Fails against the Shared Services Server with Error []
         After check the Shared Services log, we receive this message:
         “23 Jan 2009 05:30:47 - org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - SQL error 0 on /1222000912577.1: Connection is closed.
    605779961 [ExecuteThread: '4' for queue: 'weblogic.kernel.Default'] ERROR cms.CMSFacade - org.apache.slide.common.ServiceAccessException: Service org.apache.slide.store.impl.rdbms.JDBCStore@1794494 access error : Connection is closed.
    605779961 [ExecuteThread: '4' for queue: 'weblogic.kernel.Default'] WARN cms.CMSFacade - GetUsers() - Skipping User
    com.hyperion.eie.common.cms.CMSException: error.UnableToGetNodeRevisionDescriptor”
    I tried to start Essbase Server many times, but only after restart Shared Services was possible to start Essbase Server with success.
         I checked the connectivity with OpenLdap (through LDAP Browser), Shared Services repository (through SQL*Plus), Shared Services and MSAD Provider and everything is OK.
         Our environment is:
    Sun Solaris 9:
    Shared Services 9.3.0.1
    Analytic Administration Services 9.3.0.1
    Planning 9.2.0.3
    BI+ 9.2.0.3
    IBM AIX 5.3
    Analytic Services 9.3.0.1
    Oracle 10.2.0.4
    WebLogic 8.1.4
    External Authentication: MSAD
    I found some topics with errors alike, but without a solutions. I am with a Service Request in Oracle Support but they could not find a reason to this yet.
    Thanks !

    What is the solution to the problem.How did you resolve it.

  • Reg: webservice - authority check failed

    hi friends
    i have created a Webservice for FM- BAPI_COMPANYCODE_GETLIST  . after creating that i have tested in the case then i found a error that
    "An error has occurred. Maybe the request is not accepted by the server :  Authority check failed "
    what are the necessary authority checks has to be done.
    Thanks & Regards
    suman

    Hi,
    Which WAS should it be the I configured. The ESA or our own?
    I have configured our own WAS as described in the tutorial. Here I tried to set up the username and password and I was able to send the request.
    But I'm just accessing the test system and it is there I get the error.

  • Hiding The Web Service Homepage

    Is it possible to hide the web service homepage in WLS 7.0? Moving to 8.x
    is currently not an option for us.
    Jimmy
    James "Jimmy" Wilson
    [email protected]

    Is it possible to hide the web service homepage in WLS 7.0? Moving to 8.x
    is currently not an option for us.I'll answer my own question, use the exposeHomePage attribute of the
    web-service tag in the WebLogic web service deployment descriptor.
    However, this also causes the WSDL to become invisible as well. Explicitly
    setting the exposeWSDL attribute to true (the default) changes nothing.
    Jimmy
    James "Jimmy" Wilson
    [email protected]

  • Web Service Call with XI fails at SOAP Adapter

    Hi,
    I am currently trying to call a web service that is located in the Internet via XI using the SOAP Receiver Adapter. In the ABAP Monitoring (SXMB_MONI) the call is successfull. But when I check the Message Monitoring in the Runtime Workench I see the message failed in the SOAP Adapter. It stays in status 'wait' for some time and the shows a system error. I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
    Any ideas why the message fails in the SOAP Adapter? What are the steps to find the root cause?
    Thanks and regards.

    Hi,
    >>>I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
    but does XI have access to internet?
    as you used SOAP Test Tool from your computer and not from XI machine
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
    Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    outString varchar2(2000);
    BEGIN
    jo:= CurrencyConvertorStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
    message (float_.floatValue(RV));
    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;
    outString := Exception_.toString(ex);
    message(outString);
    END;
    Any help/ideas on this is greatly appreciated. Thanks.

    Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
    public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "ConversionRate";
    String targetNamespace = "http://www.webserviceX.NET/";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"FromCurrency", FromCurrency});
    requestData.add(new Object[] {"ToCurrency", ToCurrency});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
    }

  • Web services Connection_Operations.Logon call fails on Data Services 4.0

    Hello,
    We recently installed Data Services 4.0.  We have a custom Java app which makes use of the web services interface.  We had previously used Axis to generate the java class.  With DS 4, it looks like the Logon method did change as it now requires the cms system and authentication.  We manually updated the java classes to includes these, which has been our general approach in the past for newer releases.  However DS 4 uses Axis2 and I'm not sure that this approach would work.
    My problem is that the "Logon" call fails with very little details.
    In viewing  both the webadmin.log  and WebService.log it only reports the following:
    11/02/2011 18:42:17 [  SEVERE ] Logon failed.  Error: null
    I understand that I can control the logging detail .  The Integrator Guide for DS 4.0, has the following instruction, yet there is no log4j.properties file on my system?
    "To control the level of detail in the webadmin.log file, you must edit the log4j.properties file.
    The properties file is located in:
    LINK_DIR\ext\webserver\webapps\acta_web_admin\WEB-INF
    To obtain a debug trace of events, change the log level from the default of INFO to DEBUG. For example,
    log4j.rootLogger=DEBUG, A"
    Any advise would be greatly appreciated
    Thanks

    Hello,
    Unfortunately, stdout.log below doesn't show anything possibly due to some mis-configuaration of log4j.properties.  In my previous post I requested info on which log4j.properties should be modified as the documentation in the DS 4.0 Integrator's guide mentions a none-existent path?
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    log4j:WARN Please initialize the log4j system properly.
    com.businessobjects.webpath.rebean3ws.Activator
    log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
    log4j:WARN Please initialize the log4j system properly.
    null

  • Invoking Imaging Web Service from BPEL is failing

    Hi,
    My Env is on latest 11g 11.1.1.8.
    I am trying to invoke the Imaging Web Services (http://host:port/imaging/ws/ApplicationService?wsdl)deployed in another Weblogic Server from Bpel. When I tried to invoke this web service with out security credentials it was failing due to access issue.
    I tried invoking  the imaging web service by following below steps.
    Added oracle/wss_http_token_client_policy for Imaging Web service Reference.
    Added these properties in Composite for the reference binding as below.
    <wsp:PolicyReference URI="oracle/wss_http_token_client_policy"
                               orawsp:category="security" orawsp:status="enabled"/>
          <property name="weblogic.wsee.wsat.transaction.flowOption"
                    type="xs:string" many="false">SUPPORTS</property>
          <property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
                    many="false">DEFAULT</property>
         <property name="oracle.webservices.auth.username" type="xs:string"
                    many="false" override="may">weblogicxz</property>
          <property name="oracle.webservices.auth.password" type="xs:string"
                    many="false" override="may">welcome111</property>
          <property name="httpBasicUsername">weblogicxz</property>
          <property name="httpBasicPassword">welcome111</property>
    But now While testing my Bpel Flow my reference is failing with below erro. Can you please help me resolving this issue. 
    <messages>
    <input>
    <Invoke1_getApplication_InputVariable>
    <part  name="parameters">
    <getApplication>
    <appNameId>
    <id>2</id>
    <name>CaptureImageApplication</name>
    </appNameId>
    <sectionFlags/>
    </getApplication>
    </part>
    </Invoke1_getApplication_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part  name="summary">
    <summary>MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</summary>  
    </part>
    <part  name="detail">
    <detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood</detail>  
    </part>
    <part  name="code">
    <code>{http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand</code>  
    </part>
    </remoteFault>
    </bpelFault>

    Hi,
    I don't think it is failing due to access issue, I think it is failing because one of the parts is NOT configured to use WS-AT (WS-Atomic Transactions)...
    MustUnderstand headers:[{http://schemas.xmlsoap.org/ws/2004/10/wscoor}CoordinationContext] are not understood
    Why did you add this?
          <property name="weblogic.wsee.wsat.transaction.flowOption"
                    type="xs:string" many="false">SUPPORTS</property>
          <property name="weblogic.wsee.wsat.transaction.version" type="xs:string"
                    many="false">DEFAULT</property>
    Cheers,
    Vlad

  • Rerun Web Service Task whenever it fails

    Hi All,
    In one of my package i m using web service task and it is failing everytime. Below is the error:
    An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The Web Service threw an error during method execution. The error is: The operation has timed out.
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
       at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I referred the below blog and tried to implement it in my project.
    http://microsoft-ssis.blogspot.com/2014/06/retry-task-on-failure.html
    In For Loop Container, when i am using the below expression , the container is running but web service task is not running.
    EvalExpression - @RetryCounter<=@RetryMax && @QuitForLoop==false
    but when i change the expression to
    @RetryCounter<5, the web service task is also running.
    where i am going wrong. are we not supposed to use expression like @RetryCounter<=@RetryMax && @QuitForLoop==false in For Loop Container.

    Read the comments below, you need to reset the QuitForLoop, perhaps this is the issue.
    I would approach the issue with Checkpoints, and restart on failure as in
    https://www.simple-talk.com/sql/sql-tools/implementing-checkpoints-in-an-ssis-package/ or
    https://sqlserverrider.wordpress.com/2011/09/24/rerun-ssis-package-with-checkpoints/
    Arthur
    MyBlog
    Twitter

  • Web service proxy client generation fails

    Hello,
    i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
    Thanks a lot from Berlin!
    Tom

    Hello,
    i want to generate a webservice proxy client of a web service. For the access to the wsdl file of this web service, basic authentication is required. How can i use the proxy generation tool with username and password? The wsa.jar -genProxy doesn't work because i dont know how i can submit username and password. Is it possible to integrate username and password anywhere?? Is there an other way to generate a webservice proxy client? Please help me :(
    Thanks a lot from Berlin!
    Tom

Maybe you are looking for