Service Virtualization

  • 1.  Authentication Error in WebService Step

    Posted Jul 17, 2017 08:29 AM

    Hi All,

     

    I am using WebService Execution step but in response I am getting Authentication Error.Can anyone help me out on this.

    Response:

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>java.lang.IllegalStateException: Unsupported authentication scheme: Kerberos</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">java.lang.IllegalStateException: Unsupported authentication scheme: Kerberos
    at org.apache.http.auth.AuthSchemeRegistry.getAuthScheme(AuthSchemeRegistry.java:115)
    at org.apache.http.auth.AuthSchemeRegistry$1.create(AuthSchemeRegistry.java:149)
    at org.apache.http.impl.client.AuthenticationStrategyImpl.select(AuthenticationStrategyImpl.java:175)
    at org.apache.http.impl.client.ProxyAuthenticationStrategy.select(ProxyAuthenticationStrategy.java:43)
    at org.apache.http.impl.auth.HttpAuthenticator.handleAuthChallenge(HttpAuthenticator.java:154)
    at org.apache.http.impl.client.HttpAuthenticator.authenticate(HttpAuthenticator.java:58)
    at org.apache.http.impl.client.DefaultRequestDirector.handleResponse(DefaultRequestDirector.java:1064)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
    at com.itko.lisa.ws.axis.LisaHTTPSender.doInvoke(LisaHTTPSender.java:497)
    at com.itko.lisa.ws.axis.LisaHTTPSender.invoke(LisaHTTPSender.java:274)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2837)
    at org.apache.axis.client.Call.invoke(Call.java:2820)
    at com.itko.lisa.ws.nx.NxWSStep.executeCall(NxWSStep.java:383)
    at com.itko.lisa.ws.nx.NxWSStep.execute(NxWSStep.java:287)
    at com.itko.lisa.ws.nx.ui.NxWSStepEditor$6.run(NxWSStepEditor.java:599)</ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">ctsce003340</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>

    Request XML:

    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    <PartyInfo xmlns="http://www.tibco.com/namespaces/bc/2002/04/partyinfo.xsd">
    <from xmlns="">
    <domain>PARAMETER</domain>
    <name>PARAMETER</name>
    </from>
    <to xmlns="">
    <domain>PARAMETER</domain>
    <name>PARAMETER</name>
    </to>
    <operationID xmlns="">PARAMETER</operationID>
    <operationType xmlns="">PARAMETER</operationType>
    <transactionID xmlns="">PARAMETER</transactionID>
    </PartyInfo>
    </SOAP:Header>
    <SOAP:Body>
    <B2BHandlePortingMessageRequest xmlns="http://xmlns.kpn.com/mobile/m2c/cdm/handleportingmessage.3request.xsd">
    <BODY>
    <EXTERNAL_ORDER_REF>SYMP_O_0000003015</EXTERNAL_ORDER_REF>
    <PORTING_MESSAGE name="PortingRequest" type="101">
    <TIMESTAMP>2017-03-14T13:50:50</TIMESTAMP>
    <PORTING_ORDER>
    <ID_OLO>Outport-testjuly23</ID_OLO>
    <RECIPIENT_SP>
    <ID>BEN</ID>
    </RECIPIENT_SP>
    <RECIPIENT_NO>
    <ID>ASPV</ID>
    </RECIPIENT_NO>
    <DONOR_SP>
    <ID>SPM</ID>
    </DONOR_SP>
    <DONOR_NO>
    <ID>GSM1</ID>
    </DONOR_NO>
    <DESIRED_DATETIME>2017-03-15T11:00:00</DESIRED_DATETIME>
    <NUMBER_TYPE>1</NUMBER_TYPE>
    </PORTING_ORDER>
    <CUSTOMER>
    <ID_MCCS>22348843</ID_MCCS>
    <COMPANY_NAME>AH-IT</COMPANY_NAME>
    <ADDRESS>
    <STREET_NAME>Thorbeckelaankv</STREET_NAME>
    <HOUSE_NUMBER>34</HOUSE_NUMBER>
    <POSTCODE country="NL">1981CJ</POSTCODE>
    <CITY language="NL">VELSEN-ZUID</CITY>
    <COUNTRY>
    <NAME language="NL">NLD</NAME>
    </COUNTRY>
    </ADDRESS>
    </CUSTOMER>
    <PORTING_ORDER_INFO_LIST>
    <PORTING_ORDER_INFO>
    <NUMBER_RANGE>
    <BEGIN_RANGE country="31" area="6" subscriber="21008814">0621008814</BEGIN_RANGE>
    <END_RANGE country="31" area="6" subscriber="21008816">0621008816</END_RANGE>
    </NUMBER_RANGE>
    </PORTING_ORDER_INFO>
    </PORTING_ORDER_INFO_LIST>
    </PORTING_MESSAGE>
    </BODY>
    </B2BHandlePortingMessageRequest>
    </SOAP:Body>
    </SOAP:Envelope>



  • 2.  Re: Authentication Error in WebService Step
    Best Answer

    Broadcom Employee
    Posted Jul 17, 2017 11:08 AM

    Hello Sarth,

     

             Please review the authentication mechanism supported by the service that you are triggering. Based on the error message, it looks like it expects either some sort of key or certificate. Please let us know.

     

    Thanks,

    Surya.



  • 3.  Re: Authentication Error in WebService Step

    Posted Jul 17, 2017 11:27 AM

    Hi sursu06,

     

    I am able to get the response in DevTest installed in my VDI machine (Cirtrix) but when I am trying to post the same request from my system connected to the Client Network,I am getting this error.May be there is something blocking from network end.

     

    Thanks

    Sarthak 



  • 4.  Re: Authentication Error in WebService Step

    Posted Jul 19, 2017 07:47 AM

    The issue has been resolve now .I had disabled the proxy configurations in local.properties file and it worked.