SOAP TO SDO

Hi
We are using Oracle Integration Repository for webservices development . We already soap xml . That soap xml needs to be processed by a webservice . For that I believe I have to generate the SDO,SVO matching the SOAP xml . But my only problem is that the Integration repository expects the first element of the soap body as ServiceName_APIname . But I cannot change the soap xml structure because its a standard one . Please let me know how do I design the SDOs for my XML which can processed by IREP. Part of SOAP .xml is as follows
<s:Body>
     <ProvideAndRegisterDocumentSetRequest xsi:schemaLocation="urn:ihe:iti:xds-b:2007 ../schema/IHE/XDS.b_DocumentRepository.xsd" xmlns="urn:ihe:iti:xds-b:2007" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:o     asis:names:tc:ebxml-regrep:xsd:rs:3.0">
               <lcm:SubmitObjectsRequest>
                    <rim:RegistryObjectList>
                         <rim:ExtrinsicObject id="Document01" mimeType="text/xml" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1">
                              <rim:Slot name="creationTime">
                                   <rim:ValueList>
                                        <rim:Value>20051224</rim:Value>
                                   </rim:ValueList>
                              </rim:Slot>
</rim:ExtrinsicObject>
</rim:RegistryObjectList>
</lcm:SubmitObjectsRequest>
</ProvideAndRegisterDocumentSetRequest >
</s:Body>

Hi
We are using Oracle Integration Repository for webservices development . We already soap xml . That soap xml needs to be processed by a webservice . For that I believe I have to generate the SDO,SVO matching the SOAP xml . But my only problem is that the Integration repository expects the first element of the soap body as ServiceName_APIname . But I cannot change the soap xml structure because its a standard one . Please let me know how do I design the SDOs for my XML which can processed by IREP. Part of SOAP .xml is as follows
<s:Body>
     <ProvideAndRegisterDocumentSetRequest xsi:schemaLocation="urn:ihe:iti:xds-b:2007 ../schema/IHE/XDS.b_DocumentRepository.xsd" xmlns="urn:ihe:iti:xds-b:2007" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:o     asis:names:tc:ebxml-regrep:xsd:rs:3.0">
               <lcm:SubmitObjectsRequest>
                    <rim:RegistryObjectList>
                         <rim:ExtrinsicObject id="Document01" mimeType="text/xml" objectType="urn:uuid:7edca82f-054d-47f2-a032-9b2a5b5186c1">
                              <rim:Slot name="creationTime">
                                   <rim:ValueList>
                                        <rim:Value>20051224</rim:Value>
                                   </rim:ValueList>
                              </rim:Slot>
</rim:ExtrinsicObject>
</rim:RegistryObjectList>
</lcm:SubmitObjectsRequest>
</ProvideAndRegisterDocumentSetRequest >
</s:Body>

Similar Messages

  • Oracle ADF 12c SDO :- Failure in SDOSerializer.deserialize

    Hi,
    I am working on ADF 12c  and I have created a SDO service.
    while testing the SDO service from SOAP UI, I am getting below error
            <env:Fault>
               <faultcode>env:Server</faultcode>
               <faultstring>Failure in SDOSerializer.deserialize.</faultstring>
            </env:Fault>
    Please provide any solutions.
    Thanks,
    Sachin

    Hi,
    its JDeveloper and ADF on this forum. For EM related questions, you should try the EM forum
    Frank

  • Problem in testing customer SDO service from Enterprise manager

    I am trying to test customer SDO service( This is a built in service with SOA Demo) . While testing i face exception given below . There seems to be some proble in resolving data source soaDataSource. I have checked all configuration is correct. In JNDI tree also the SoaDataSOurce entry can be clearly seen. i have face similar problem with JCA Db adapter.
    Any suggestion for this problem will be greatly appreciated .
    Syed Naqvi
    <Jul 19, 2011 10:33:09 AM IST> <Warning> <oracle.j2ee.ws.common.jaxws.JAXWSMessa
    ges> <BEA-000000> <Exception while executing the business logic: JBO-27200: JNDI
    failure. Unable to lookup Data Source at context jdbc/soaDataSource: Unable to
    resolve 'jdbc.soaDataSource'. Resolved 'jdbc'>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException:
    JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/soaDataSou
    rce: Unable to resolve 'jdbc.soaDataSource'. Resolved 'jdbc'
    at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestMode
    l.java:575)
    at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381)
    at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMetho
    dBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMet
    hodBinding(UIXComponentBase.java:1256)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand
    .java:183)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:96)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7
    56)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplicat
    ion(LifecycleImpl.java:765)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
    ifecycleImpl.java:305)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
    leImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java
    :101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
    ava:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
    (RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
    .java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
    erImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
    r(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
    lter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilt
    er.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
    75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.
    java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java
    :203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangP
    refFilter.java:158)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.ja
    va:542)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
    ilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: JBO-27200:
    JNDI failure. Unable to lookup Data Source at context jdbc/soaDataSource: Unabl
    e to resolve 'jdbc.soaDataSource'. Resolved 'jdbc'
    at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(
    DispatchUtil.java:260)
    at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWi
    thDispatch(OperationInfoImpl.java:992)
    at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java
    :729)
    at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestMode
    l.java:569)
    ... 79 more
    Caused by: javax.xml.ws.soap.SOAPFaultException: JBO-27200: JNDI failure. Unable
    to lookup Data Source at context jdbc/soaDataSource: Unable to resolve 'jdbc.so
    aDataSource'. Resolved 'jdbc'
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException
    (DispatchImpl.java:1012)
    at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:803
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationW
    ithRetry(OracleDispatchImpl.java:235)
    at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchI
    mpl.java:106)
    at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(
    DispatchUtil.java:256)
    ... 82 more
    <Jul 19, 2011 10:33:16 AM IST> <Warning> <oracle.adf.view.rich.change.MDSDocumen
    tChangeManager> <BEA-000000> <ADFv: Unable to find matching JSP Document Node fo
    r: RichShowDetail[UIXFacesBeanImpl, id=drqsd1].>
    <Jul 19, 2011 11:17:54 AM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-0000
    00> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initializati
    on is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent
    To see the stack trace for thread that is initializing this, set the logging lev
    el of oracle.adf.share.ADFContext to FINEST>
    m_connection-jpss nul

    Thanks for the blog Salil.
    What ever it is mentioned is already done in SOAMANAGER. Endpoints are available for the service.
    Below is the Overview of the service:
    Object Status:               Services: 1 / Endpoints: 1 
    Porttype Namespace:   urn:sap-com:document:sap:soap:functions:mc-style
    Porttype Name:             YMTEST_WS
    Internal Name:               YMTEST_WS
    SOAP Applikation:         URN:SAP-COM:SOAP:RUNTIME:APPLICATION:RFC:710
    Package Name:             $TMP
    Ok, i have developed 2 web services. One web service in ECC 6.0, where Java stack not available so i provided CRM system Java stack address in the global setting and executed my ECC 6.0 web service which says "No endpoints are found for the Web service"
    Following is the URL:  http://tuasd06db.tuasw2k.tuaspower.com.sg:8000/sap/bc/srt/wsdl/sdef_YMTEST_WS/wsdl11/ws_policy/document?sap-client=220
    The one web service which created in CRM 2007, i can test in the navigator, no problem with that. 
    Following is the URL: 
    http://tuasd06db.tuasw2k.tuaspower.com.sg:8002/sap/bc/srt/wsdl/bndg_DE7DA5BA0B3A93F1AF60001A64258BFC/wsdl11/allinone/standard/document?sap-client=220
    You can find the URL difference btw the URL's. Do i need to publish the service in the service registry? I thought for testing it is not required.
    Now all i have problem with the ECC 6.0 web service.
    Cheers,
    Madhu

  • SDO invocation errors after re-deploying composites

    Hi,
    We have an application with EJB exposing SDO web services and composites calling those services.
    The wsdl and xsd files for those services are pushed in MDS by our build.
    The problem is every time we re-deploy the application (EJBs, wsdl/xsd to MDS, then composites), the composite throw errors when trying to invoke the SDO web services. For instance:
    Caused by: java.lang.IllegalArgumentException: Exception [EclipseLink-45010] (Eclipse Persistence Services - 1.1.1.v20090430-r4097): org.eclipse.persistence.
    exceptions.SDOException
    Exception Description: Type not found for interface [com.ed.ted.sdo.EscSDO]
    at org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate.create(SDODataFactoryDelegate.java:54)
    The problem also happens when we re-deploy one of the composite making SDO calls.
    We use ant scripts to build and deploy.
    The only solution we have found so far to get rid of this issue is to follow these steps:
    - un-deploy all ejbs and composite
    - stop the server
    - delete domain/servers/cache and tmp
    - restart server
    - re-deploy ejbs and composites
    Has anyone encountered this kind of issues ?
    We can't figure out if it is linked with MDS caches, SDO or weblogic.
    Thanks for your help
    Sebastien

    Thanks a lot Sebastien,
    I had the exact same error when trying to invoke an EJB/JPA based SDO exposed as a SOAP WebService (based on Biemond's example: http://biemond.blogspot.be/2012/08/generating-ejb-sdo-service-interface.html).
    To get rid of this strange error, I had to:
    1) delete domain/servers/cache (not the tmp)
    2) restart server
    Then when I invoked the SDO service from SoapUI again, it worked! :)
    Thanks again,
    David

  • EJB Adapter Service -- Creating SDO -- 11g

    I am trying to achieve EJB adapter as a service to my SOA composite.
    I have been referring to the document at [http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/sca_sdo_ejb.htm#CCGIHAAE]
    When creating a service interface for a method in my bean, the WSDL and XSD files are created, but the Service Data Objects- SDO are not created.
    The method's signature is as follows -
    public String processMessage(oracle.sdp.messaging.Message msg){...}
    on right click and "create service interface" the wsdl and xsd are generated, but the SDO objects for the Parameter type oracle.sdp.messaging.Message are not generated.
    Any pointers to this is much appreciated.
    Thanks,
    Srini.

    I read your blog post and it helped a lot!
    But I encountered so many issues and bugs in the management of SDO objects that I gave up :
    - starting with the code generation (which is quite buggy overall, and doesn't work at all in many cases)
    - then once you have deployed your EJBs with an SDO interface, you face many bugs/issues with the EJB adapter in the BPEL module
    So I ended up calling all my external components that are not SOAP webservices with a mediator component and a java callout class.
    This is sad, because I liked the EJB adapter concept which I think was a more elegant solution to my problems.
    Laurent

  • Host parameter null and convert SOAP to HTTPUrl

    Hi,
    We are trying to fire a SOAP request and print the response but its throwing this error
    Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
    The piece of code is:
    HttpClient hc = new HttpClient();
    System.out.println("Came here");
    int iResultCode = hc.executeMethod(post);
    executeMethod(post) is failing but when I print the value of post, its �org.apache.commons.httpclient.methods.PostMethod@fd54d6�
    Can anybody throw some light on this error and how to solve it??
    Also, there�s another issue.
    We are upgrading from Weblogic 7.2 to 9.1
    Earlier we were able to pass the request and get the response in HTTPUrl form but now after upgrading, its getting passed in SOAP format. Is there any way to bypass the SOAP and get it in HTTPUrl format or what are the configurations to be made to adapt to the SOAP format?
    connection =(HttpURLConnection) url.openConnection();
         This line was returning HTTPUrl format, now its coming in SOAP format

    your PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that

  • Questions on using a SOAP web service's data in a Crystal Reports report

    I'm attempting to create a report using CR 2008, accessing data from a SOAP web service. I've run into a few problems, and need some advice.
    1) CR doesn't seem to support WSDL files that use relative URI imports (for example, I have a relatively complicated WSDL file that imports other WSDL files and schemas using relative URI locations). To solve this problem, I have downloaded all of the files to my local hard drive, and changed the "location" attributes to point to local files. Is there any other solution to this problem?
    2) CR doesn't seem to support circular references within schema files. To solve this problem, I have removed circular references from my local schema files. Of course, my actual web service will still potentially return data structures with these circular dependencies. Is there any other solution to this problem?
    3) CR doesn't seem to support request documents that allow for arrays of elements. For example, my schema allows the user to specify an array of Instruments that should be returned by the web service. In the meantime, I have changed the schema to only specify single instances of the Instrument element in the request. Is there any other solution to this problem?
    4) CR doesn't seem to support empty values for optional attributes that are specified in the schema. So, when the "Enter Values" parameter form appears, I am required to enter values for these attributes, even though they are listed as optional in the schema. To avoid this problem, I have commented out the optional attribute values in the schema. Is there any other solution to this problem?
    5) When the schema specifies that a value is based on a restricted simple (string) type, the CR parameter form shows a drop list with ellipses (...), but the drop list does not contain the enumerated types specified in my schema. Instead, I must manually enter a value. Do you know of any reason why the drop list is not populated?
    6) The SOAP response document from my web service is relatively complicated. So, in the "Data" page of the Standard Report Creation Wizard, each and every XML element level of the response document listed in the schema is shown as a separate entry. If I choose just the top level element ("fetchInstrumentSetResponse"), then very little data is shown on the next page of the wizard (only the ID attribute). But, if I select each and every element type from the response document, CR prompts me for the request document parameters for each row I have selected (I see the same form 30+ times), even though there really should only be a single SOAP request to the web service to return this response document. It seems to be treating each of these elements as a separate "database table", with a different query string for each. Am I using this feature incorrectly?
    If you can point me to somewhere in the documentation that handles this in more detail, that would be great (all I could find were the step-by-step instructions on how to connect to a web service as a data source).
    Thanks!

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • How Can I call a UCM service from SOAP request

    Hi,
    I have created one custom service and I would like to call that service from 3rd Party system via SOAP call. The 3rd Party system does not have the capability to call through RIDC.
    Now I have exposed my service and tried to call but authentication exception was coming status code 401.
    So I created one sample ADF application and tried to call the DocInfo service for testing (I thought let's try DocInfo then I will check my custom service). I downloaded the DocInfo service from UCM and  uploaded the WSDL into the project and got the client DocInfoSoapClient.java file.
    public class DocInfoSoapClient
      @WebServiceRef
      private static DocInfo docInfo;
      public static void main(String [] args)
        docInfo = new DocInfo();
        DocInfoSoap docInfoSoap = docInfo.getDocInfoSoap();
        DocInfoByNameResult res = docInfoSoap.docInfoByName("TEST_001603", null);
        System.out.println(res.getContentInfo());
        // Add your code to call the desired methods.
    The error is coming like:
    Exception in thread "main" com.sun.xml.ws.client.ClientTransportAccessException: The server sent HTTP status code 401: Unauthorized: http://xxxxxxxx:16200/_dav/cs/idcplg
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.getClientTransportException(HttpTransportPipe.java:340)
    I tried a lot but same error. There should be some process by which I can send the userid and password but failed. Even I tried to send the properties as key value pair in IdcPropertyList but I know that is wrong.
    I checked the Issue: https://community.oracle.com/thread/2424460
    But there was no answer.
    Can anyone help on it?
    Regards,
    Santanu

    Hi Santanu,
    You need to write SoapHandler in order to pass username and pwd. You will need 2 classes namely HeaderHandlerResolver & SoapHandler. This is how i do in in my JAX-WS clients. I generate stubs and then attach handler to webserviceinterface
    PFA HeaderHandlerResolver.java and SoapHandler.java you would attach soap handler something like this in your code i have never done this via ADF so not sure.
    HeaderHandlerResolver soapHandlerResolver = new HeaderHandlerResolver();
    docInfo.setHandlerResolver(soapHandlerResolver);
    In SoapHandler class you will mention username and pwd like this
    soapMessageContext.put(BindingProvider.USERNAME_PROPERTY,"username");
    soapMessageContext.put(BindingProvider.PASSWORD_PROPERTY,"pwd");
    Regards,
    Amol Gavali

  • Javax.xml.rpc.soap.SOAPFaultException: "Server Error" while calling a WSDL

    Hi
    I am using a WSDL in my java code by creating proxy.
    I am getting an exception on below line of code
    XX_RESPONSE res = port.XX_XX_Forecast(req);
    exception :
    javax.xml.rpc.soap.SOAPFaultException: "Server Error"
    hat could be the possibility.
    is it from XI side or Java side.
    Shall I catch a XI person on my floor to solve this !!
    To be more specific :
    Error is
    <detail xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
    <context>XIAdapter</context>
    <code>ADAPTER.JAVA_EXCEPTION</code>
    <text>com.sap.aii.af.service.cpa.CPAException: invalid channel (party:service:channel) = <null>
    at com.sap.aii.af.mp.soap.web.MessageServlet.getChannel(MessageServlet.java:499)
    at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:409)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)</text>
    </s:SystemError>
    </detail>
    Thanks

    Hi...
    WSDL forwarded by my manager was wong
    I tested it and it threw same exception.
    nyways...1 more help..
    Now, is there any way in NWDS to replace contents of used WSDL.
    Because only 1 "=" is missing in WSDL..
    Thanks

  • Error while sending a soap request from XML SPY to a webservice in XI

    Hi ,
    I published a webservice om the XI end and testing it with consuming the WSDL file in XML SPY and sending a soap request from there.
    I am getting the following error .
    <b>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name</b>, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#4 $)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Is this error due to the user authentication or due to some other issue .
    Please do let me know soon .
    Thanks a lot
    Nikhil

    Hi Ricardo ,
    I have the correct port now.
    the url looks like
    http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST
    when I am testing it in the XML spy. and send a soap server request. I am getting the popup for user authentication . once i put my user id it gives me a error saying
    <b>HTTP operation 'POST' could not be performed on URL
    '/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST&amp;version=3.0&amp;Sender.Service=SIEBEL_DEV&amp;Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST'  due to an error :
    The connection to the server was terminated abnormally</b>
    Any Idea as to why is such a error is coming
    Thanks for the help
    Nikhil

  • Error while posting SOAP request

    Hi All,
       I am working on one SOAP to RFC syncronous scenario,
    when i am checking the scenario using XML spy i am getting following error,
    Please help me
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:158)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:916)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
              ]]></text>
                        </s:SystemError>
                   </detail>
              </SOAP:Fault>
         </SOAP:Body>
    </SOAP:Envelope>
    when monitoring communication channel it is showing status   "request received , error occured"
    Regards
    Pradeep P N

    Hi Pradeep,
    I request u to just check in RWB, in component monitoring, the status of integration server and adapter engine.......if it is red, then ask your basis guys to remove that error................just check your comm channels, i think your comm channels are in error, if they are just edit them, save and activate them again..........i think then your this issue will be resolved.'
    I think some port information has been edited recently.
    Make sure that ur ABAP and java stack are at same patch levels after the upgrade.
    try this too
    com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process
    and this
    com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process ?
    Regards,
    Vinod.

  • Create XML file from ABAP with SOAP Details

    Hi,
    I am new to XML and I am not familiar with JAVA or Web Service. I have searched in SDN and googled for a sample program for creating XML document from ABAP with SOAP details. Unfortunately I couldn't find anything.
    I have a requirement for creating an XML file from ABAP with SOAP details. I have the data in the internal table. There is a Schema which the client provided and the file generated from SAP should be validating against that Schema. Schema contains SOAP details like Envelope, Header & Body.
    My question is can I generate the XML file using CALL TRANSFORMATION in SAP with the SOAP details?
    I have tried to create Transformation (Transaction XSLT_TOOL) in SAP with below code. Also in CALL transformation I am not able to change the encoding to UTF-8. It's always show UTF-16.
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:template match="/">
        <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
          <SOAP:Header>
            <CUNS:HeaderInfo>
              <CUNS:InterfaceTypeId>10006</InterfaceTypeId>
              <CUNS:BusinessPartnerID>11223344</BusinessPartnerID>
              <CUNS:SchemaVersion>1.0</SchemaVersion>
              <CUNS:DateTime>sy-datum</DateTime>
            </CUNS:HeaderInfo>
          </SOAP:Header>
          <SOAP:Body>
            <xsl:copy-of select="*"/>
          </SOAP:Body>
        </SOAP:Envelope>
      </xsl:template>
    </xsl:transform>
    In ABAP program, I have written below code for calling above Transformation.
      call transformation ('Z_ID')
           source tab = im_t_output[]
           result xml xml_out.
      call function 'SCMS_STRING_TO_FTEXT'
        exporting
          text      = xml_out
        tables
          ftext_tab = ex_t_xml_data.
    Please help me how to generate XML file with SOAP details from ABAP. If anybody have a sample program, please share with me.
    Is there any easy way to create the XML file in CALL Transformation. Please help.
    Thanks

    Try ABAP forum, as it seems not to be PI related.

  • Problem in creation of SOAP massage

    hi
    I am using JDeveloper (version 11.0) to create the proxy classes from WSDL
    but i am getting an exception as following
    SOAPFaultException
    this exception indicate that there is some problem in creation of SOAP massage internally
    so can anyone help me to know what is the problem?
    If u want to see the code then i can display here.
    thanks in advance

    its due to the number ranges that is specified in the partner determination ... chech what is the number range assigned in the parner determination ,,, so once u check that u have to manually enter the number between that range only .. this should solve ur problem...
    path to check the number range is as below :
    spro-img-logistic generalbusiness partner-customers---define account groups and field selection ---    
    at this point click position button at the bottom and give ur account group .. select ur account group and click detail button .. now inside that u can see the specified number range .. dafault is 08 ( means u can specify between 400000 to 499999)..
    and some times  u may not have defined number range... check urs and create accordingly ... this should solve ur problem...
    rewards if solved ..
      thank you
    madhan

  • Send/Receive IDOCs (XML) from/to SAP R/3 with XI-SOAP without XI!

    Dear SAP specialists,
    (BACKGROUND) We are using the Microsoft BizTalk Adapter for SAP 1.0, developed on top of the SAP DCOM Connector (we are using the version 6.20 Patch Nr. 177), with Microsoft BizTalk Server 2002 SP1 in order to send and receive IDOC via the tRFC transport protocol. We are using the Microsoft BizTalk Adapter for SAP 1.0 since February 2002, and today we are exchanging more than 25,000 IDOC/day with this architecture.
    When we migrate our SAP R/3 system to the version 4.7 with WAS 6.20, I was very enthusiastic about the possibility of sending the IDOC in XML via the standard HTTP transport protocol, because it would considerably simplify my architecture, i.e. no need of any (expensive) adapter any more! But, I had to realise that the quality of service exactly once will not be there anymore with HTTP as it exists with tRFC. Then, we carry on using the tRFC transport protocol with the adapter.
    (QUESTION) But recently, I followed the SAP Course TBIT40 XI Foundations and I learn that:
    1.     On one hand, the XI-SOAP protocol supports the quality of service exactly once by the usage of a message GUID within the XI-SOAP envelope;
    2.     On the other hand, all mySAP solutions using WAS 6.20 (or higher) carry a “small” Integration Engine (with XI-SOAP as the “native” transport protocol).
    Then, my question is: << Is it possible to exchange IDOC (XML) directly with an SAP R/3 4.7 (WAS 6.20) via the XI-SOAP transport protocol using the “small” Integration Engine embedded into it, with the quality of service exactly once? >>
    Many thanks in advance and best regards,
    Patrice Krakow

    Hello Patrice
    We have same issue. Is it possible to use IDoc (XML) directly with SAP 5.0 with SOAP (HTTP) without XI?
    Since your que is three years old, I'm sure you must have found some method for this.
    We'll highly appreciate your help.
    Regards: Gaurave

  • Retaining original filename in FILE- SOAP- SOAP- FILE

    We have faced a scenario where I have to retain original filename in File-> SOAP-> SOAP ->File. The issue is that we don't have any ESR objects and neither do we intend to create any. So its purely configuration to transfer file from one folder to another.
    Any suggestion would be highly appreciated.
    Thanks,
    Swati

    Hello Swati,
    Even after trying the above steps suggested by Praveen, if you don't get the results use Dynamic Configurations module in the Receiver channel along with the above settings.
    1) Make sure the above settings are done (given by Praveen)
    2) Assign a new variable as the file name parameter under receiver channel configurations.
    3) Assign the "message:interface_name" value to the variable under Variable Substitution
    4)Under Module Tab do the following:
    Let me know if you still face any further issue.
    Regards,
    Simran

Maybe you are looking for

  • Help Bapi Purchase order with reference to purchase requisition no

    Hi, i used BAPI_PO_CREATE1 for creating purchase order with reference to Purchase requisition number but im getting these error please help me to solve this 1 E BAPI 001 No instance of object type PurchaseOrder has been created. External reference: 2

  • Blog pages to show on desktop and mobile versions

    I have a domain hosting separate desktop and mobile versions.  I need to have the blog posts show on both versions.   Posts such as http://forums.adobe.com/thread/1217947 state that I can define separate mobile and desktop templates for the Announcem

  • "Unknown User" account recovery, Please help

    Hi, Inadvertently i have been deleted an "unknown user" from the (System Properties-->User Profiles) this mistake deleted my "Desktop" and "My Document" files and other settings. How can i resolve this problem or recover my files, i tried to use (Sys

  • Condition types in PO at Header Level

    Hello all, I know,How to configure condition types for po at item level. but I have no idea,that How to maintain it header level. can anybody give me the suggestion regarding this.

  • Latest (October 2011) update won't install.

    I have tried to carry out the latest update (14/10/11). It seemed to be working well, then the tv went blank and the white light at the front of the apple tv box started flashing rapidly. After a few minutes I got the 'connect to itunes' logo. I've r