ESB SOAP Service Error - Mutiple levels of SOAP invocation.

Hi,
Does anyone have a solution to this problem,
We are on SOA 10.1.3.1.
I am trying to design hierarchial invocation of services, where one ESB service calling another ESB service and so on...
Example There are 3 ESB Projects A, B and C. Project A calls B; B calls C.
A -> B -> C
In project B, I added SOAP service to directly reference/invoke service C which is already deployed. On execution, service B is successfully able to call service C. No issues.
I did similar execise, In project A, I added SOAP service to directly invoke service B (which is internally calling service C). Deployment is successfully. On execution from service A, I am getting following error.
Does anyone have a solution to this problem ?
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
at java.util.HashMap$ValueIterator.next(HashMap.java:817)
at oracle.tip.esb.server.common.wsif.WSIFInvokerResponse.getFirstFaultElement(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.handleFault(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:790)
at java.util.HashMap$ValueIterator.next(HashMap.java:817)
at oracle.tip.esb.server.common.wsif.WSIFInvokerResponse.getFirstFaultElement(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.handleFault(Unknown Source)
at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
... 20 more
</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>

Your usecase should be no problem. The error java.util.NoSuchElementException seems to indicate you are refering a non existing element somewhere. Are you sure the service gets invoked with the correct message content? From the enterprise manager website you can increase the logging of esb. Go to your esb oc4j container, administration, Logger Configuration. Search for soap loggers and increase the log level. You should now see the entire xml soap messages in the log.xml file.
Kind Regards,
Andre Jochems

Similar Messages

  • ESB Soap Service invoking mutiple operations of a WSDL

    Hi,
    we have a requirement where in we have to call mutiple opeartions of a WSDL.
    We tried developing this using ESB, where in we used many soap services invoking different operations of thw WSDL and a routing service which will decide on which SOAP service (Opeartion of WSDL) to invoke.
    But we just want to check if there any way that we can call many operations of the same WSDL using the same soap service.
    Any pointers on this.
    Thanks in advance.
    santu

    Your usecase should be no problem. The error java.util.NoSuchElementException seems to indicate you are refering a non existing element somewhere. Are you sure the service gets invoked with the correct message content? From the enterprise manager website you can increase the logging of esb. Go to your esb oc4j container, administration, Logger Configuration. Search for soap loggers and increase the log level. You should now see the entire xml soap messages in the log.xml file.
    Kind Regards,
    Andre Jochems

  • XI SOAP adapter : Error during parsing the SOAP part

    Hello experts,
    We have several scenarios SOAP to IDocs.
    We are on XI 3.0 SP19, and since 9/6/09 around 4:00 PM GMT, our SOAP channels used to communicate with a specific 3rd party all stoped accepting incoming SOAP requests. All the messages are stucked on third party side, and we get the following error in the defaulttrace and application logs :
    #1.5#001125A5BCD00066000076850013109E00046BF6A963E479#1244607054865#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK#sap.com/com.sap.aii.af.soapadapter#com.sap.aii.messaging.mo.Message.reparseRootDocument()#PIMSOAP#21217##pxaci_PXA_6443451#PIMSOAP#a71ebfa0556d11decc24001125a5bcd0#SAPEngine_Application_Thread[impl:3]_50##0#0#Error#1#com.sap.aii.messaging.mo.Message#Plain###Error during parsing the SOAP part --- java.lang.NullPointerException#
    It happened at the same time on all the environments for every interfaces using SOAP message from this sender to XI. That's the reason why we think it is a global issue, but we can not find anything concerning this error. Has anybody encountered this error or would have any clue of where it comes from ?
    Many thanks,
    Best regards,
    Guislain

    Hello Michal,
    Thanks a lot for your help. Actualy we have tested with SOAP UI yesterday and this is what came out of the tests :
    test 1 : we tried to call the XI service with the wsdl and put dummy data inside --> test OK
    test 2 : we loaded in SOAP UI one of the file from our partner and tried to call the service --> test NOT OK
    test 3 : we realized that there were some blank lines at the beginning of the file provided by the partner. we removed these blank lines --> test OK.
    So we first thought that the format of the file sent by the partner was wrong and this is why we were getting the parsing error, because of these blank line. The thing is that these blank lines have always been here ! We have checked with old successful messages and they contain also these lines and if we test them in SOAP UI we get an error also. so it does not seems to come from this.
    Moreover, as I said in my previous message, it happened on all the environments approximatly at the same time, so we are suspecting a global problem, but which one ? That's the million dollar question
    Would you have any other ideas ?
    Thanks a lot,
    Best regards,
    Guislain

  • SOAP service shutsdown and restarts itself -- SOAP - Performance Monitoring APIs

    Our "SOAP - Performance Monitoring APIs" service shutdown and restarted itself twice within 5 days. Would someone know what this service is dependent on, why might it be doing this and what are the best steps to stop this from happening?

    Sounds like you're hitting something similar to Bug ID CSCul26251
    There's no fix and the only workaround is to disable the service.
    GTG

  • Session management thru SOAP services

              Hi I am trying to deploy our application in a clsutered environment. Previsouly
              I had some problems with http session replication. That problems were solved but
              now I have another problem.
              Our application has multiple clients, some are browser based and some are swing
              based that use our SOAP services.
              all browser based clients use httpsession for session management, since weblogic
              replicates the httpsession, we have no problem clustering http webapps. But SOAP
              services has no access to httpsession.
              We have implemented our own session management (we cache the app specific session
              objects) so that SOAP services works fine (SOAP services doesn't have access to
              httpsession, so we could not use httpsession for session management). Each method
              in our soap services takes a sessionid and we get the session objects (not http
              session objects but our app specific session objects) based on the sessionid.
              But now that our application is clustered, the session cache mechanism doesn't
              work since its not replicated thru out the clusters.
              I thought I could use stateful session beans to cache the sessions, but how do
              I cache the SFSB thru out the session w/o sending any references to the SFSB to
              the client. I know I can send the Handle reference to the client but We cannot
              change the SOAP API now. The only information client has is the session id.
              My question is: How do I use SFSB w/o changing my soap services method paramaters.
              My SOAP method looks like methodName(String sessionid, ..............)
              I could use a clustered cache but we can't buy anything in the current situation.
              Any help would be appreciated.
              Praveen
              

    Well, does the DSM log have any details? (see [Note 529924|https://service.sap.com/sap/support/notes/529924] on how to view the logs)
    My guess is that you are using different protocols between the dispatcher and a backend system: they both have to use HTTP or both use HTTPS (as described in the same note). That would also explain why the URL for the direct connection to the portal  doesn't present the error, if that URL has the same protocol as the backend.
    Regards,
    Sean

  • Unable to change ESB Soap Service endpoint

    Hi people , i have a problem,
    after creating a soap service , register de esb service on DefaultSystem, i want to call externally using
    "http://host:port/esb/wsil/DefaultSystem/<name of soap service>?wsdl
    everithing works ok , but when i try to change from Jdeveloper the enpoint URL , ESB seems to keep using the old URL in :
    http://host:port/event/DefaultSystem/<name of soap service>?WSDL ..
    If i check on esb control i can se the new "WSDL URL" on the Definition tab of this soap service. But internally in the WSDL generated by the ESB endpoint it keeps using the OLD URL
    causing obviously a:
    "SOAPException: Message send failed: Connection refused"
    if i make that resource unavailable after the change
    The question is .. why i cant change the endpoint url ????
    theres is any WSDL cache or something like in Oracle BPEL PM ??
    i need to restart (i dont try yet )
    please ill wait for any suggestions
    PS: im using ESB 10.1.3.3.0 Build:PCBPEL_10.1.3.3.0_GENERIC_070615.0525

    Hi
    I have similar problems and nobody seems to know the solution. Changing the virtual host and port in ESB console does not resolve the problem thoroughly. It's changing the end point entry but living the namespace URL of the WSDL with old value, for instance my address was: http://localhost.localdomain:8889/ .....servicename?WSDL.
    This prevents it from proper invoking by external clients, you can reach the end point and use the test page but you can't read its wsdl file without adjusting its address by hand.
    I found one solution, it's reinstalling the OAS from scratch and pass the proper name of the server when prompted but what the kind of solution is that? This is obviously deployment problem, the original wsdl file prepared in JDeveloper is used to generate the final wsdl file exposed to external clients but which is the configuration file responsible for that and why the esb console don't change the namespace url too while changing end point?
    This is the bug indeed because it's impossible to resolve from console level.

  • Adobe document service error: SOAP Runtime Exception

    Hello,
    I am trying to test an Adobe Form created using the ABAP workbench SFP transaction, and getting the following error.
    <b>Adobe document services error: SOAP Runtime Exception: CSoapExceptionTransport : (100101)</b>
    These are the steps I am using.
    1. Call SFP transaction and select an ADOBE Form.
    2. Function key F8 to test
    3. Select the Output device and do "Print Preview"
    Our configuration is : WAS 6.40 SP11 and corresponding ADS level. We used the standard SAP ADS configuration guide to setup.
    Thanks in advance for any reply.
    Regards,
    PK

    Hi PK
    it looks like you have a problem with either your Adobe document services or your RFC configuration. In the current ADS Configuration Guide in the SAP Service Marketplace, you find a configuration quick test in chapter 3.4. The results should tell you if this is the issue.
    There are 2 tests you can run:
    A. Checking the User and Password
    This is a small test where you can check that your entries for user, security role, and passwords are correct.
    Procedure:
    1. Enter the following URL in your web browser:
    http://<server>:<port>/AdobeDocumentServices/Config
    where <server> is the name of the J2EE engine where the Adobe document services are installed and <port> is the port of the J2EE engine.
    Note that the entries in the URL are case-sensitive.
    2. The web page of the web service AdobeDocumentServices is displayed. Choose Test.
    3. Choose rpdata(test.…) .
    4. Choose the Send button without entering any parameters.
    5. Enter the same user name and password as given in the configuration steps earlier.
    6. Choose Submit.
    If the configuration is correct, you get the information about the Version number in the response area.
    If the configuration settings are not correct, the page does not change and Submit still appears.
    B. Checking the ABAP Connection
    This is a small test for checking the RFC destination you have created.
    Procedure
    1. Log on to your SAP system.
    2. Call transaction SE38
    3. Enter the name of the test report: FP_PDF_TEST_OO.
    4. Choose Execute (F8)
    If the configuration is correct, you get the Version Information.
    If the configuration is not correct, you get a dialog box with fields for user and password. Check your configuration settings and also the entries you made when creating the ABAP connection.
    Hope this helps.
    Kind regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Soap Service RetryInterval in ESB

    Hi,
    Can you tell me whether the endpoint properties RetryInterval and RetryCount work on Soap Services also. I have a Siebel Web Service (synchronous) registered with the ESB.
    I want to be able to retry 5 times at an interval of 5 seconds in case Siebel is down.
    What are the steps that I need to take? The process needs to be automated.
    Kindly advice. Also, kindly explain what exactly is retried by specifying this interval? Does this retry occur in case of all exceptions?

    I tried applying the patch, but it gives the following error:
    OPatch detects your platform as 207 while this patch 6133448 supports platforms:
    0 (Generic Platform)
    This patch is not suitable for this operating system.
    Please contact support for the correct patch.
    ERROR: OPatch failed during pre-reqs check.
    OPatch returns with error code = 150
    I downloaded for the OS I am on, but always the generic patch downloads; i guess this generic one should work for all platforms. Opatch version is 1.0.0.0.56.

  • Invoke remote SOAP Servlet using ESB SOAP Service component

    Hello
    I am new to ESB and JDeveloper as well, have been working with Eclipse since now. I have the following problem I can not solve at this time.
    I have a SOAP Servlet running on Apache Tomcat 5, which I can call from simple JAVA code using the URL http://localhost:8080/omar/registry/soap
    The servlet is defined/described within Tomcat using the web.xml file like:
    <servlet>
    <servlet-name>
    ebxmlrr-soap-receiver-servlet
    </servlet-name>
    <servlet-class>
    org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet
    </servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    I have already made a web service, which I have deployed on Oracle Application Server (using the SOA suite). In the web service I have wrapped a simple JAVA class which uses the SOAPConnection class to connect to http://localhost:8080/omar/registry/soap and sends a simple SOAP message successfully.
    My question is, can I use the http://localhost:8080/omar/registry/soap URL directly from an ESB SOAP Service to send messages to the SOAP Servlet (not to use the web service in Oracle Application Server, but to connect directly to the SOAP Servlet on Tomcat) ?
    Regards
    Zolt

    I have found a WSDL file provided to test the SOAP service I have mentioned before.
    The content of the WSDL looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://omarebxmlrrwsdlnew/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="StandaloneTestService" targetNamespace="http://omarebxmlrrwsdlnew/">
         <types/>
         <message name="StandaloneTest_sendMessage">
              <part name="Message" type="xsd:string"/>
         </message>
         <message name="StandaloneTest_sendResponse">
              <part name="Response" type="xsd:string"/>
         </message>
         <portType name="StandaloneTestPortType">
              <operation name="sendMessage" parameterOrder="Message">
                   <input message="tns:StandaloneTest_sendMessage"/>
                   <output message="tns:StandaloneTest_sendResponse"/>
              </operation>
         </portType>
         <binding name="StandaloneTestBinding" type="tns:StandaloneTestPortType">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="sendMessage">
                   <soap:operation/>
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://omarebxmlrrwsdlnew/"/>
                   </output>
              </operation>
         </binding>
         <service name="StandaloneTestService">
              <port name="StandaloneTestPort" binding="tns:StandaloneTestBinding">
                   <soap:address location="http://localhost:8080/omar/registry/soap"/>
              </port>
         </service>
    </definitions>
    Where the address specifies the address of the SOAP service
    When I try to use this WSDL inside an ESB SOAP Service I get the following error:
    The selected porttype is using a message that is invalid for ESB because it is multi-part or has a simple type.
    The message StandaloneTest_sendMessage in operation sendMessage of porttype StandaloneTestPortType is invalid.
    Please select another porttype or fix the wsdl.
    How can I get pass by this error, what is wrong with the WSDL file ?

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

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

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

  • Error while trying to deploy a SOAP service to 9iAS

    Hi,
    I try to deploy the simple clock sample to Oracle 9iAS 9.0.3 and I get the following output:
    This test uses a SOAP URL of http://avia.mindcti.com:7777/soap/servlet/soaproute
    r
    Deploying the simpleclock service...
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:IOException; msg=C
    onnection refused: connect; targetException=java.net.ConnectException: Connectio
    n refused: connect]
    at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHT
    TPConnection.java:765)
    at org.apache.soap.rpc.Call.invoke(Call.java:261)
    at oracle.soap.client.ServiceManagerClient.invokeMethod(ServiceManagerCl
    ient.java:122)
    at oracle.soap.client.ServiceManagerClient.deploy(ServiceManagerClient.j
    ava:135)
    at oracle.soap.client.ServiceManagerClient.main(ServiceManagerClient.jav
    a:229)
    I get similar errors when trying to connect to the SOAP server from JDeveloper. What can be the problem?
    Thanks in advance,
    Avi

    In 903 Oracle SOAP ( based on Apache SOAP) is not configured by deafult, since Oracle SOAP is a depricated feature;
    Prefered way of building web services is using 'J2EE Web services'. But if you stilll want to use Oracle SOAP web services
    You need to depoy the Oracle SOAP application that is there in soap directory.
    thanks
    Venky Ravipati

  • Error:Adobe document services error: SOAP Runtime Exception: CSoapException

    Dear All,
    While executing an adobe form I am facing the following error:
    Adobe document services error: SOAP Runtime Exception: CSoapExceptionTransport :
    Can you please suggest how the error can be rectified?
    Thanks and regards,
    Atanu
    Edited by: Atanu Dey on Feb 18, 2008 5:31 PM

    Hi, For solving this do one thing:
    The problem is In ECC the service AdobeDocumentServicesSec was set up in SM59 but nothing was configured for SSL. So you have to change this to:
    AdobeDocumentServicesSec.
    Thanks
    please reward points

  • Error with web service SRT: Unexpected failure in SOAP processing occurred:

    Hello,
      I get the following error with a web service
    "SRT: Unexpected failure in SOAP processing occurred: ("No configuration for this HTTP server instance")"
    Any ideas on how to solve this ?
    Thanks.
    Regards, Michel

    Hi,
    I think the WSDL file shared with you and the soap message you are getting are a mismatch.
    Try to check the soap message xml format and see if matches the ouputs tags structure in WSDL file.
    Thanks & Rgds,
    Aditya

  • SSL Error while Consuming Java build SOAP services using Dotnet Console App

    Hi, I want to consume a SOAP service developed in JAVA. I don't have any control on Service side. I have to just consume the SOAP service using my client Application which is in DotNet Console Application using C#. Here is the detail about the service:
    1. The service has SSL configured.
    2. End point looks like: https://xyz.com:443
    3. I am able to connect the service using SOAP UI Tool by configuring the Tool with the certs given by Java developer.
    4. Basically there are two certs used, one for "client authentication" purpose and the second cert is for "WS security" purpose.
    5. When i add the WSDL to my client app as a service Reference, the generated App.config file looks as shown below:
    <configuration>
    system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding name="Hello_HTTPBinding">
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://localhost:8080/" binding="basicHttpBinding"
    bindingConfiguration="Hello_HTTPBinding"
    contract="Proxy_Hello" name="Hello_HTTPPort" />
    </client>
    </system.serviceModel>
    </configuration>
    6. Basically I need to pass two certs, one cert used for "client authentication" purpose and the second cert is used for "WS security purpose".
    7. I have changed the above client configuration as below marked in RED color text:
    <configuration>
    system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding name="Hello_HTTPBinding">
    <security mode="TransportWithMessageCredential" >
    <transport clientCredentialType="Certificate" proxyCredentialType="Basic" realm="" />
    <message clientCredentialType="Certificate" algorithmSuite="Basic128" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="https://xyz.com:443"
    binding="basicHttpBinding"
    bindingConfiguration="Hello_HTTPBinding"
    contract="Proxy_Hello" name="Hello_HTTPPort" behaviorConfiguration="NewBehavior"/>
    </client>
    <behaviors>
    <endpointBehaviors>
    <behavior name="NewBehavior">
    <clientCredentials >
    <clientCertificate findValue="clientxyz.com" storeLocation="CurrentUser" storeName="My" x509FindType="FindBySubjectName" />
    <serviceCertificate>
    <defaultCertificate findValue="helloabc.com" storeLocation="CurrentUser" storeName="My" x509FindType="FindBySubjectName"/>
    </serviceCertificate>
    </clientCredentials>
    </behavior>
    </endpointBehaviors>
    </behaviors>
    </system.serviceModel>
    </configuration>
    8. I am assuming the cert required for WS security  will be passed using in<serviceCertificate> element, but not fully sure....correct me if I am wrong.
    9. By creating proxy object of the service when I am trying to call the required method I am getting this Error: "Could not establish
    secure channel for SSL/TLS with authority "******xyz.com."
    10. Its working perfect in SOAP UI Tool, generating the Raw XML as shown below in ORANGE color Text:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:gw-headers-100" xmlns:urn1="urn:gw-util-100">
    <soapenv:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"
    wsu:Id="X509-35309F239B754D9BA414230227616161">
    aaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbccccccccccccccccccccc********dddddddddddd*****eeeeeeeeee
    </wsse:BinarySecurityToken>
    <ds:Signature Id="SIG-2" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo>
    <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
    <ec:InclusiveNamespaces PrefixList="soapenv urn urn1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </ds:CanonicalizationMethod>
    <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
    <ds:Reference URI="#id-1">
    <ds:Transforms>
    <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">
    <ec:InclusiveNamespaces PrefixList="urn urn1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    </ds:Transform>
    </ds:Transforms>
    <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
    <ds:DigestValue>
    abcabcabcabc******gggggg
    </ds:DigestValue>
    </ds:Reference>
    </ds:SignedInfo>
    <ds:SignatureValue>gggggg888******8sdsdsdss</ds:SignatureValue>
    <ds:KeyInfo Id="KI-38488AAAA222">
    <wsse:SecurityTokenReference wsu:Id="STR-ggggjj57557575">
    <wsse:Reference URI="#X509-74747477" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
    </wsse:SecurityTokenReference>
    </ds:KeyInfo>
    </ds:Signature>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body wsu:Id="id-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <urn1:xxxxxxx>
    </urn1:xxxxxx>
    </soapenv:Body>
    </soapenv:Envelope>
    11. Using Dotnet Tracing I am able to see the Request XML generated from the console Application as shown below in BLUE color text: But getting the SSL error as: Could not establish secure channel
    for SSL/TLS with authority "******xyz.com.
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
    <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <u:Timestamp u:Id="_0" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <u:Created>2015-02-04T04:19:29.825Z</u:Created>
    <u:Expires>2015-02-04T04:24:29.825Z</u:Expires>
    </u:Timestamp>
    <o:BinarySecurityToken>
    <!-- Removed-->
    </o:BinarySecurityToken>
    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
    <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod>
    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod>
    <Reference URI="#_0">
    <Transforms>
    <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>
    <DigestValue>aaaaaa****dddddd=</DigestValue>
    </Reference>
    </SignedInfo>
    <SignatureValue>ssssddddd888fffff****=</SignatureValue>
    <KeyInfo>
    <o:SecurityTokenReference>
    <o:Reference ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" URI="#uuid-93e09c54-aee8-4f45-a8a4-d63d8a2d63fb-1"></o:Reference>
    </o:SecurityTokenReference>
    </KeyInfo>
    </Signature>
    </o:Security>
    </s:Header>
    </s:Envelope>
    12. I want to Generate the Request XML from my Dotnet console Application simiar to the SOAP UI generated XML(refer #10).. Also want to get rid of SSL error....Appreciate your Suggestion..

    Hi tksdotnet,
    This forum is used to discuss the questions about the WCF web service, for java web services questions, it will be better to post in this forum:
    #WCF, ASMX and other Web Services:
    http://forums.asp.net/28.aspx/1?WCF+ASMX+and+other+Web+Services .
    Thanks for your understanding.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ESB -- SOAP Service Security

    I have a SOAP Web Service secured with a Basic Authentication.
    I've wrapped this SOAP service with an ESB service.
    Should I be able to pass the Basic Authentication credentials through the ESB service to the underlying SOAP service? I see "support for SOAP Headers" is the docs as a preview feature.

    Take a look at the following thread regarding SOAP headers:
    Re: Custom SOAPAction for Oracle ESB?
    Or did you manage to get through this use case because I'm trying to create a generic 'authenticationService' which receives a username/password and needs to check against an ldap environment if this user exists

Maybe you are looking for

  • Help syncing iphone to new MacBook Pro

    I got a MacBook Pro for Christmas, and I need help syncing my iPhone to it without losing my pictures, contacts, and music. I already wirelessly shared my iTunes library to from my old mac to the new one. Is there a way to sync my phone to the new co

  • Slloooowmotion games in Win 7!

    Hi, Weird problem. Using Windows 7, a few games seem to be running in slow-motion, not as in a low fps, but literally as if time is running slower. My graphics card is the Radeon Mobility HD 2600 XT. Bootcamp 3.1. Any ideas? Thanks a lot!

  • Start workflow in code - access denied

    Im trying to start list workflow (sp 2013)  from MVC app. the mvc app (win auth enabled) is running by a user that is site owner. i always get ASP.NET access denied var workflowServiceManager = new WorkflowServicesManager(web); var workflowSubscripti

  • Mail etc migration from Snow Leopard

    Hi Folks. My new iMac has just arrived. Previously I have moved everything from my old imac to a new one as a single operation. But this has left me with a lot of Power Mac software and loads of other stuff that is now irrelevant. So this time I'm go

  • My Remove DVR stopped working out of the blue - been great for months!

    I tried to use Remote DVR via web and my phone today and both didn't work so I tried the diagnostics on the STB (7216) and everything passes except Remote DVR which now says "FAILED". When I hit ok for more info, it just says Check cable which is use