Invoking external salesforce webservice

i am not able to invoke external sales force webservice for my bpel

Hi,
I'm working on a POC for integrating Sales Force with OFMW. I've downloaded partner.wsdl/enterprise.wsdl from Sales Force, imported it in Fusion & now when I'm trying to invoke SF login() action from Oracle Fusion with valid user name & password along with security token, I'm getting below error. Can anyone help me to crack this??? I tried importing the same wsdl in Soap UI & there it's working fine.
Getting below error:
summary=<summary>oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): htps://login.salesforce.com/services/Soap/u/20.0</summary>,detail=<detail>Unable to access the following endpoint(s): https://login.salesforce.com/services/Soap/u/20.0</detail>,code=<code>null</code>}
Not fatal connection error ... not retrying.
Please suggest.
Regards,
Shailendra Suryawanshi

Similar Messages

  • Easier option for invoking external webservice

    Hi,
    what is the easy way to test invoking a nonSAP webservice (to which we give request and expect response).
    i did file to soap scenario using bpm,
    and i used file to soap using adapter module.
    but both are bit lengthy procedure to check if we can invoke the webservice thru PI.
    is there any other mechanism, or any other adapters that we can use to send the request and get the response from nonSAP webservice provider.

    hi,
    >>>is there any other mechanism, or any other adapters that we can use to send the request and get the response from nonSAP webservice provider.
    not anything that would not involve using adapters...
    >>>but both are bit lengthy procedure to check if we can invoke the webservice thru PI.
    but they both take less then 30 mins to develop & check (without a BPM even less)... 
    Regards,
    Michal Krawczyk

  • Best practices: Invoking external webservices with user credentials

    Hello Experts,
    I just need to store and maintain a couple of user credentials when invoking external web servcies. I was thinking of storing them in system-jazn-data.xml as I thought it was easier to change the password due to policy requirements through the AS control.
    But how do I read the encrypted password and pass it to the invoked partner link in BPEL ?
    Any other suggestions ?
    Thanks
    Ravi
    P.S; I was thinnking a DB table would be too much just for a couple of users.

    you can use deployment descriptors in BPEL process to store these variables and pass them

  • Error: URI is not hierarchical while invoking external WS

    I have a business process, wherein I am invoking an external Java WebService using Invoke->PartnerLink
    During compilation, i am getting error : URI is not hierarchical
    If I remove the above call, there is no compilation error.
    I have checked all the paths and project name for errornous whitespaces which lead to the above error. I am using 10g.
    What could be the reason of the error?

    Update
    I just started with a fresh instance of JDeveloper (unzipped the JDeveloper pack at another location). And now the problem is gone.
    So I think there was some problem with my JDeveloper compiler.

  • How to call the Salesforce  webservice  create api ?

    Hello Friends,
    I am using Oracle BPEL process manager 10.1.2 .
    I have created the BPEL process project.
    In it I have deployed the Salesforce webservice.
    I have assigned the session id ,URL according to the as given in
    demos->salesforceflow .
    I have called the login api , query api that is successfully called.
    But when I call the Create api then it gives the error at run time that
    "Invalid session id found in session header".
    so please tell me what could be reason for this..
    Thanks and regards
    Ram Krishna Tripathi
    [email protected]
    ====================
    BPEL file is as follows:--
    <process name="SalesforceFlow" targetNamespace="http://samples.otn.com" suppressJoinFailure="yes" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:tns="http://samples.otn.com" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:salesforce="urn:enterprise.soap.sforce.com" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:salesObject="urn:sobject.enterprise.soap.sforce.com" xmlns:ns3="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:ns2="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
    <partnerLinks><!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="tns:SalesforceFlow" myRole="SalesforceFlowProvider" partnerRole="SalesforceFlowRequester"/>
    <partnerLink name="salesforce" partnerLinkType="salesforce:SoapLink" partnerRole="SoapProvider"/>
    </partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
    <variables><!-- Reference to the message passed as input during initiation -->
    <variable name="input" messageType="tns:SalesforceFlowRequestMessage"/><!-- Reference to the message that will be sent back to the
    requester during callback
    -->
    <variable name="output" messageType="tns:SalesforceFlowResponseMessage"/>
    <variable name="createinput" messageType="salesforce:queryRequest"/>
    <variable name="createoutput" messageType="salesforce:queryResponse"/>
    <variable name="Invoke_1_create_InputVariable" messageType="salesforce:createRequest"/>
    <variable name="Invoke_1_create_OutputVariable" messageType="salesforce:createResponse"/>
    </variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
    <sequence name="main"><!-- Receive input from requestor.
    Note: This maps to operation defined in SalesforceFlow.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="tns:SalesforceFlow" operation="initiate" variable="input" createInstance="yes"/>
    <scope name="customerPreference">
    <variables>
    <variable messageType="salesforce:loginRequest" name="loginRequest"/>
    <variable messageType="salesforce:loginResponse" name="loginResponse"/>
    <variable messageType="salesforce:Header" name="headerRequest"/>
    <variable messageType="salesforce:queryRequest" name="queryRequest"/>
    <variable messageType="salesforce:queryResponse" name="queryResponse"/>
    <variable name="partnerReference" element="wsa:EndpointReference"/>
    <variable name="Variable_1" messageType="salesforce:Header"/>
    </variables>
    <sequence>
    <assign name="setSalesforceAuthorization">
    <copy>
    <from variable="input" part="payload" query="/tns:SalesforceFlowRequest/tns:username"/>
    <to variable="loginRequest" part="parameters" query="/salesforce:login/salesforce:username"/>
    </copy>
    <copy>
    <from variable="input" part="payload" query="/tns:SalesforceFlowRequest/tns:password"/>
    <to variable="loginRequest" part="parameters" query="/salesforce:login/salesforce:password"/>
    </copy>
    </assign>
    <invoke partnerLink="salesforce" portType="salesforce:Soap" operation="login" inputVariable="loginRequest" outputVariable="loginResponse"/>
    <assign name="readSessionConfig">
    <copy>
    <from variable="loginResponse" part="parameters" query="/salesforce:loginResponse/salesforce:result/salesforce:sessionId"/>
    <to variable="headerRequest" part="SessionHeader" query="/salesforce:SessionHeader/salesforce:sessionId"/>
    </copy>
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address/>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from expression="string(bpws:getVariableData('loginResponse', 'parameters', '/salesforce:loginResponse/salesforce:result/salesforce:serverUrl'))"/>
    <to variable="partnerReference" query="/wsa:EndpointReference/wsa:Address"/>
    </copy>
    <copy>
    <from variable="partnerReference"/>
    <to partnerLink="salesforce"/>
    </copy>
    <copy>
    <from expression="concat( 'select Fax from account where AccountNumber=',ora:addQuotes( string(bpws:getVariableData('input','payload','/tns:SalesforceFlowRequest/tns:accountNumber'))) )"/>
    <to variable="queryRequest" part="parameters" query="/salesforce:query/salesforce:queryString"/>
    </copy>
    </assign>
    <invoke partnerLink="salesforce" portType="salesforce:Soap" operation="query" inputVariable="queryRequest" outputVariable="queryResponse" bpelx:inputHeaderVariable="headerRequest"/>
    <assign name="Assign_1">
    <copy>
    <from variable="loginResponse" part="parameters" query="/salesforce:loginResponse/salesforce:result/salesforce:sessionId"/>
    <to variable="Variable_1" part="SessionHeader" query="/salesforce:SessionHeader/salesforce:sessionId"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="salesforce" portType="salesforce:Soap" operation="create" inputVariable="Invoke_1_create_InputVariable" outputVariable="Invoke_1_create_OutputVariable"/>
    </sequence>
    </scope><!-- Asynchronous callback to the requester.
    Note: the callback location and correlation id is transparently handled
    using WS-addressing.
    -->
    <invoke name="callbackClient" partnerLink="client" portType="tns:SalesforceFlowCallback" operation="onResult" inputVariable="output"/>
    </sequence>
    </process>
    =====================
    WSDL FILE
    =============
    <definitions
    name="SalesforceFlow"
    targetNamespace="http://samples.otn.com"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://samples.otn.com"
    xmlns:ns1="urn:enterprise.soap.sforce.com"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    >
    <import namespace="urn:enterprise.soap.sforce.com" location="services/enterprise.wsdl"/>
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://samples.otn.com"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://abo-server:9700/orabpel/xmllib/ws-addressing.xsd"/>
    <element name="SalesforceFlowRequest">
    <complexType>
    <sequence>
    <element name="username" type="string"/>
    <element name="password" type="string"/>
    <element name="accountNumber" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="SalesforceFlowResponse">
    <complexType>
    <sequence>
    <element name="price" type="double"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="SalesforceFlowRequestMessage">
    <part name="payload" element="tns:SalesforceFlowRequest"/>
    </message>
    <message name="SalesforceFlowResponseMessage">
    <part name="payload" element="tns:SalesforceFlowResponse"/>
    </message>
    <portType name="SalesforceFlow">
    <operation name="initiate">
    <input message="tns:SalesforceFlowRequestMessage"/>
    </operation>
    </portType>
    <portType name="SalesforceFlowCallback">
    <operation name="onResult">
    <input message="tns:SalesforceFlowResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="SalesforceFlow">
    <plnk:role name="SalesforceFlowProvider">
    <plnk:portType name="tns:SalesforceFlow"/>
    </plnk:role>
    <plnk:role name="SalesforceFlowRequester">
    <plnk:portType name="tns:SalesforceFlowCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

    On your Invoke, click the "adapter" tab and make sure the header variable is selected.

  • Need Help: Not able to invoke fusion crm webservice using SOAP UI

    Hi,
    I am trying to invoke fusion crm webservice by using SOAP UI, but I am getting Invalid seccurity tocken exception.
    I have followed below steps specified in the oracle support document.
    In Soap UI, Go to File>Preferences ,select the "HTTP Settings' tab on the lower left panel, then select the checkbox 'Authenticate Preemtively'.
    2. From the wsdl extract the content from above wsdl between the tag/elements <dsig:X509Certificate> and </dsig:X509Certificate>
    3. Create a file called certificate.cer ( in local Drive) with above encrypted data enclosed between -----BEGIN CERTIFICATE-----   and -----END CERTIFICATE-----, file content shown below ( note: encrypted data 
        for example
        -----BEGIN CERTIFICATE-----
    MIICCzCCAXSgAwIBAgIETy
        -----END CERTIFICATE-----
    4. Identifiy the java.home of SOAP UI , navigation (Help – System Properties) ,example ( it may be something like D:\SOAP UI download\soapui-4.5.1\jre)
    5.  Find the location of cacert file in SOAP UI ( example D:\SOAP UI download\soapui-4.5.1\jre\lib\security\cacert)
    6. Use following keytool command to add the certificate file certificate.cer into keystore cacert , sample command given below for reference
       keytool -importcert -alias rcpt-key-alias -file "D:\certificate.cer" -keystore "D:\SOAP UI download\soapui-4.5.1\jre\lib\security\cacerts"
       at command prompt when prompted enter password as changeit
    7. Restart SOAP UI and create a new project with https version of WSDL of organizationService
    8. In SOAP UI ,  in Auth tab , provide the user name and password.
    9. Invoke the Webservice
    I have used following request XML in SOAP UI
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:opp="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/" xmlns:rev="http://xmlns.oracle.com/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/" xmlns:rev1="http://xmlns.oracle.com/oracle/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:act="http://xmlns.oracle.com/apps/crmCommon/activities/activitiesService/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soap="soap" xmlns:ns1="http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/">
       <soapenv:Header>
          <fmw-context xmlns="http://xmlns.oracle.com/fmw/context/1.0"/>
          <wsse:Security soap:mustUnderstand="1">
             <wsse:UsernameToken>
                <wsse:Username>userName</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
             </wsse:UsernameToken>
          </wsse:Security>
       </soapenv:Header>
       <soapenv:Body>
          <typ:createOpportunity>
             <typ:opportunity>
                <opp:BudgetedFlag>1</opp:BudgetedFlag>
             </typ:opportunity>
          </typ:createOpportunity>
       </soapenv:Body>
    </soapenv:Envelope>
    It would be great help if someone guide me on this...
    Thanks & Regards
    Samanta Mishra

    For reference here is an example of a SOAP envelope I commonly use with SOAP UI to "query" employee data from HCM:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/hcm/employment/core/workerService/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
        <soapenv:Header>
            <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <wsse:UsernameToken wsu:Id="UsernameToken-2" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                    <wsse:Username>username</wsse:Username>
                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
                    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">jwCzGGijT90Wml6eZe4cxg==</wsse:Nonce>
                    <wsu:Created>2012-07-04T06:49:48.981Z</wsu:Created>
                </wsse:UsernameToken>
            </wsse:Security>
        </soapenv:Header>
        <soapenv:Body>
            <typ:findWorker>
                <typ:findCriteria>
                    <typ1:fetchStart>0</typ1:fetchStart>
                    <typ1:fetchSize>1</typ1:fetchSize>
                    <typ1:filter>
                        <typ1:conjunction>And</typ1:conjunction>
                        <typ1:group>
                            <typ1:conjunction>And</typ1:conjunction>
                            <typ1:upperCaseCompare>false</typ1:upperCaseCompare>
                            <typ1:item>
                                <typ1:conjunction>And</typ1:conjunction>
                                <typ1:upperCaseCompare>false</typ1:upperCaseCompare>
                                <typ1:attribute>PersonNumber</typ1:attribute>
                                <typ1:operator>=</typ1:operator>
                                <typ1:value>123456</typ1:value>
                            </typ1:item>
                        </typ1:group>
                    </typ1:filter>
                </typ:findCriteria>
                <typ:findControl>
                    <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
                </typ:findControl>
            </typ:findWorker>
        </soapenv:Body>
    </soapenv:Envelope>
    This example works fine for our Fusion Applications Cloud test instance, without any SSL setup or setting credentials on the request properties as the target service supports policy without message protection.
    Based on the your steps your service has message protection policy, so the above will not work rather you need to do additional configuration. Please check the policy on your service to confirm how the call needs to be made. Here are few links and documents:
    "How to invoke Fusion Application TCA webservice from SOAP UI (Doc ID 1496071.1)"  documents how a service with message protection can be called from SOAP UI. Your steps seem identical so presumably they are based on this document.
    "Oracle Fusion Sales Cloud Web Services (Doc ID 1354841.1)" contains information about the CRM web services including examples on the certificate import and sample payloads.
    Please provide:
    The security policies defined on the service (check the wsdl)
    The exact error message the you get
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • Oracle SOA Suite 10.1.3.1: Invoke a secure webservice

    Hi,
    How can i invoke a secure Webservice (the webservice is implemented as a Security Token Service that accepts RST messages and replies with RSTR messages [ws-trust]) using BPEL and OWSM (Oracle SOA Suite 10.1.3.1) .
    The Service authenticates the user by verifying the validity of the user’s (client) X.509 certificate und return a saml assertion. This assertion confirms the user’s identity, and the successful authentication process.
    Any approcahes or Ideas how to implement this?
    thanks in advance
    Pat

    Hi,
    How can i invoke a secure Webservice (the webservice is implemented as a Security Token Service that accepts RST messages and replies with RSTR messages [ws-trust]) using BPEL and OWSM (Oracle SOA Suite 10.1.3.1) .
    The Service authenticates the user by verifying the validity of the user’s (client) X.509 certificate und return a saml assertion. This assertion confirms the user’s identity, and the successful authentication process.
    Any approcahes or Ideas how to implement this?
    thanks in advance
    Pat

  • Unable to Invoke a BPEL webservice from a java client

    Hi ,
    We have developed (using Jdeveloper 10.1.3.1.0) a BPEL Process which invoke a PL/SQL procedure. This BPEL process is deployed on the Oracle SOA Suite server 10.1.3.1.0.
    Out third pary vendor is trying to invoke this BPEL webservice from there network.
    They generated a web service proxy using WSDl URL http://afh-fut01.futurus.com:8888/orabpel/default/xxff_bankonet_service/1.0
    When our third party vendors are trying to invoke our BPEL web service they are getting the following exception
    calling http://afh-fut01.futurus.com:8888/orabpel/default/xxff_bankonet_service/1.0
    java.rmi.ServerException:
    start fault message:
    java.lang.NullPointerException
    :end fault message
    at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:560)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:396)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
    at project1.proxy.runtime.Xxff_bankonet_serviceBinding_Stub.process(Xxff_bankonet_s
    erviceBinding_Stub.java:76)
    at project1.proxy.Xxff_bankonet_servicePortClient.process(Xxff_bankonet_servicePort
    Client.java:56)
    at project1.proxy.Xxff_bankonet_servicePortClient.main(Xxff_bankonet_servicePortCli
    ent.java:39)
    To explain more on this
    1. From our network we are able to invoke the web service from the client generated from Jdeveloper(i.e.using the
    WSDL)and also from the client generated through AXIS 1.4
    2. However when the third party vendors are trying to invoke the same service
    using client generated from Jdeveloper at their end they ar getting the aboe exception
    3. Vendor is able to ping the SOA Suite server in our network and also send a request to our server from the browser, but while executing the client they are getting an exception
    Please let me know what is the solution to this problem.
    Best Regards
    Meenal

    Try this to verify that your process on the SOA Suite is correct:
    Use the tool SoapUI (open source) to execute a request based on the WSDL of your web service. If this is correct your process is working fine. SoapUI acts as a client to call your webservice via Soap.
    If the call is working, then something on the webservice-client-proxy of the third-party is wrong. Try to find out what they send as soap request.
    Regards,
    Marc
    http://orasoa.blogspot.com

  • How to pass Username and password using Invoke to a webservice

    Hi Guys,
    Please tell me how can I pass Username and password using Invoke to a webservice, I am using SOA 11G.
    Thanks
    Yatan

    Hi Yatan
    I suppose you want to use basic HTTP authentication.
    Try to lookup in the SOA docs this property
    oracle/wss_http_token_client_policy
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b32511/configuring.htm#WSSEC2261
    Regards
    Mihai

  • WL 7.0 Client Invoking a secure webservice

    Hi
    I am having trouble invoking a secure webservice(https) and I turned on the
    debug mode and I see the following :
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLSocket will be Muxing>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLIOContextTable.findConte
    xt(is): 6760150>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <write SSL_20_RECORD>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated: fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <isMuxerActivated: false>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated: fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 readRecord()>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 received HANDSHAKE>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE: ServerHel
    lo>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated: fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <isMuxerActivated: false>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated: fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 readRecord()>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 received HANDSHAKE>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE: Certifica
    te>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <NEW ALERT: com.certicom.tls
    .record.alert.Alert@43af8c Severity: 2 Type: 42
    java.lang.Throwable: Stack trace
    at weblogic.security.utils.SSLSetup.debug(SSLSetup.java:241)
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.hand
    le(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <write ALERT offset = 0 leng
    th = 2>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <close(): 4648875>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <Exception during handshake,
    stack trace follows
    javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt or unusea
    ble certificate was received.
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknow
    n Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.hand
    le(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <NEW ALERT: com.certicom.tls
    .record.alert.Alert@3a191e Severity: 2 Type: 40
    java.lang.Throwable: Stack trace
    at weblogic.security.utils.SSLSetup.debug(SSLSetup.java:241)
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:49 PM CDT> <Debug> <TLS> <000000> <SSLIOContextTable.removeCon
    text(ctx): 1346512>
    java.io.IOException: Write Channel Closed, possible SSL handshaking or trust fai
    lure
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknow
    n Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    javax.xml.rpc.JAXRPCException: failed to create service
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:99)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    My Client is pretty straightword and follows the weblogic sample
    'Dynamic client using WSDL'
    Pls. help
    -Max

    C:\Aears>java -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    -Djavax.xml.rpc.ServiceFactory=weblogic.webservice.core.rpc.ServiceFactoryImpl
    -Dweblogic.StdoutDebugEnabled=true -Dweblogic.webservice.security.verbose=true
    Dweblogic.webservice.client.verbose=true -Dssl.debug=true TestClient
    "Michael Wooten" <[email protected]> wrote:
    >
    Can you show us your command line?
    "Max" <[email protected]> wrote:
    Hi
    I am having trouble invoking a secure webservice(https) and I turned
    on the
    debug mode and I see the following :
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLSocket willbe
    Muxing>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLIOContextTable.findConte
    xt(is): 6760150>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <write SSL_20_RECORD>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated:
    fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <isMuxerActivated:
    false>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated:
    fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 readRecord()>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 received
    HANDSHAKE>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE:
    ServerHel
    lo>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated:
    fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <isMuxerActivated:
    false>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <SSLFilter.isActivated:
    fals
    e>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 readRecord()>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <4648875 received
    HANDSHAKE>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <HANDSHAKEMESSAGE:
    Certifica
    te>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <NEW ALERT: com.certicom.tls
    .record.alert.Alert@43af8c Severity: 2 Type: 42
    java.lang.Throwable: Stack trace
    at weblogic.security.utils.SSLSetup.debug(SSLSetup.java:241)
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.hand
    le(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <write ALERT offset
    = 0 leng
    th = 2>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <close(): 4648875>
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <Exception during
    handshake,
    stack trace follows
    javax.net.ssl.SSLKeyException: FATAL Alert:BAD_CERTIFICATE - A corrupt
    or unusea
    ble certificate was received.
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknow
    n Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.hand
    le(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:48 PM CDT> <Debug> <TLS> <000000> <NEW ALERT: com.certicom.tls
    .record.alert.Alert@3a191e Severity: 2 Type: 40
    java.lang.Throwable: Stack trace
    at weblogic.security.utils.SSLSetup.debug(SSLSetup.java:241)
    at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    >
    <Jun 7, 2004 3:03:49 PM CDT> <Debug> <TLS> <000000> <SSLIOContextTable.removeCon
    text(ctx): 1346512>
    java.io.IOException: Write Channel Closed, possible SSL handshakingor
    trust fai
    lure
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknow
    n Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
    Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sage(Unknown Source)
    at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMes
    sages(Unknown Source)
    at com.certicom.tls.record.ReadHandler.interpretContent(Unknown
    Source)
    at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
    at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknow
    n Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Un
    known Source)
    at com.certicom.tls.record.WriteHandler.write(Unknown Source)
    at com.certicom.net.ssl.HttpsClient.doHandshake(Unknown Source)
    at com.certicom.net.ssl.internal.HttpURLConnection.getInputStream(Unknow
    n Source)
    at weblogic.webservice.client.https.HttpsURLConnection.getInputStream(Ht
    tpsURLConnection.java:216)
    at weblogic.webservice.tools.wsdlp.DefinitionFactory.createDefinition(De
    finitionFactory.java:89)
    at weblogic.webservice.tools.wsdlp.WSDLParser.<init>(WSDLParser.java:66)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:108)
    at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactor
    y.java:84)
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:97)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    javax.xml.rpc.JAXRPCException: failed to create service
    at weblogic.webservice.core.rpc.ServiceImpl.getWebService(ServiceImpl.ja
    va:99)
    at weblogic.webservice.core.rpc.ServiceFactoryImpl.createService(Service
    FactoryImpl.java:41)
    at com.verizon.iom.services.validater.ejb.AddressValidater.getResponseFr
    omWS(AddressValidater.java:246)
    at com.verizon.iom.services.validater.ejb.AddressValidater.validateAddre
    ss(AddressValidater.java:105)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean.validateA
    ddress(ValidaterServiceBean.java:1812)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl.validateAddress(ValidaterServiceBean_jf861j_EOImpl.java:98)
    at com.verizon.iom.services.validater.ejb.ValidaterServiceBean_jf861j_EO
    Impl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
    ef.java:114)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
    eManager.java:726)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:377)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    My Client is pretty straightword and follows the weblogic sample
    'Dynamic client using WSDL'
    Pls. help
    -Max

  • Retain session in java client , which invokes a dotnet webservice

    Hello Forum,
    I am invoking a dotnet webservice using a java client. But I am not able to maintain session in this java client. I googled this, I got many links for the above. But none of the solution was using pure sun api's. My need is to do the same only using sun api's. Please guide. Any help will be appreciated.
    Best Regards,
    Tejal Khatri

    Apache HttpClient can do that.

  • Problem invoking document type webservices with SAAJ

    I cannot invoke document type webservices with SAAJ. No problems invoking rpc-style services. Can anyone help me to invoke doc-type webservices with SAAJ. Very urgent. Thank you.

    Siva Sankar
    You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
    In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
    Thanks & regards
    Amol Lohade

  • External HTTP-Webservice with empty response

    Hi community,
    I have implemented an external http webservice which is working fine when I test it directly via se80 - I receive the results I want.
    Now I want to capsulate it into a function module but always receive a empty response structure. I call it the way
    TRY.
           CALL METHOD WSProxy->GET_ITEMS
             exporting
               INPUT  = ls_request
             importing
               OUTPUT = ls_response.
             catch CX_AI_SYSTEM_FAULT.    " Application Integration: Technischer Fehler
             catch ZCX_TECHNICAL_FAULT_MESSAGE.    " Proxy Class (generated)
             catch CX_AI_APPLICATION_FAULT.    " Application Integration: Applikations Fehler
       ENDTRY.
    I receive no exception about missing parameters...

    Hi Daniel,
    I am facing the same problem calling an external WS from SAP.
    How did you solve it? In my case i receive non empty response from the WS call in the SE80 with the test service consumer but not from Abap.
    Thank you very much.
    Kind Regards
    Jon

  • Invoking external C code from Oracle

    How do I invoke external C code on another machine from Oracle?
    I need certain queries in Oracle to trigger a call to C code that is running on a different machine. We need to find out which architecture is suited to this.
    We plan to port this solution to other databases in the future, so it would be better if the solution was platform independent.
    Thanks

    What is the API to this C code?
    What, exactly, would you be looking for in a platform independent way to invoke C code from a database? You can build a web service interface to the C code, which would provide a relatively database independent interface to various databases. But the Oracle code that would call the web service would be very much database specific. As would the code in any other database to call a web service. Plus if you're talking about data mining, you're probably talking about transferring a rather large volume of data from the database, which would generally make web services and the associate XML a rather inefficient data transfer mechanism.
    Most databases have the ability to generate a flat file as well, but that tends to be a rather database-dependent API.
    Can the C code not extract the data from the database? There are a ton of somewhat database independent APIs that would allow a client application extract data from a variety of databases.
    Justin

Maybe you are looking for