Java client generation from BPEL WSDL fails?

Hi -
I have developed asynchronous BPEL composite project and used input xsd as required.Deployed the same on em and took wsdl url.
In OSB project this WSDL from abve step is used as input for proxy service.Exported WSDL from this proxy and trying to create java client out of it.
In eclipse or OEPE if i load above wsdl and provide >generate webservice java client,it through exception saying 'root tag'(of our xsd) not define?
Can we generate Java client out of WSDL deployed and available on BPEL em?If so how?
Please assist..
Edited by: Anitha R on Jan 23, 2011 2:36 AM

This is fixed.We were able to generate the cient,namespace required for input message found missing.After udation it worked.

Similar Messages

  • Error while generating java client code from wsdl file

    I am trying to generate a java client code from WSDL file um_workflowSaveCreateProfile.wsdl which includes um_workflowSaveCreateProfile_interface.wsdl file, so I am keeping both the files in the same folder and trying to generate the client code but it is showing me the below error highlighted .
    um_workflowSaveCreateProfile.wsdl
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="E:/DIPPWF/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:obinterface="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile">
         <import namespace="D:/DIPP/WSDL/um_workflowSaveCreateProfile_interface" location="um_workflowSaveCreateProfile_interface.wsdl"/>
         <service name="OblixIDXML_um_workflowSaveCreateProfile_Service">
              <port name="OblixIDXML_um_workflowSaveCreateProfile_Port" binding="obinterface:OblixIDXML_um_workflowSaveCreateProfile_Binding">
                   <soap:address location="http://localhost:7777/identity/oblix/apps/userservcenter/bin/userservcenter.cgi"/>
              </port>
         </service>
    </definitions>
    um_workflowSaveCreateProfile_interface.wsdl
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:oblix="http://www.oblix.com/" xmlns:oblixxmllocalschema="http://www.oblix.com/OblixXMLLocalSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface" targetNamespace="http://www.oblix.com/wsdl/um_workflowSaveCreateProfile_interface">
         <types>
              <xsd:schema targetNamespace="http://www.oblix.com/" elementFormDefault="qualified"
                   xmlns="http://www.oblix.com/"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                        <xsd:include schemaLocation="../XMLSchema/common_parameters.xsd" />
                        <xsd:include schemaLocation="../XMLSchema/common_authentication.xsd" />
                        <xsd:include schemaLocation="../XMLSchema/workflowSaveCreateProfile.xsd" />
              </xsd:schema>
              <xsd:schema targetNamespace="http://www.oblix.com/OblixXMLLocalSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                   <xsd:element name="request">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="params">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element ref="oblix:ObWorkflowName"/>
                                                 <xsd:element ref="oblix:ObDomainName"/>
                                                 <xsd:element ref="oblix:ObWfComment" minOccurs="0"/>
                                                 <xsd:element ref="oblix:noOfFields"/>
                                                 <xsd:element ref="oblix:AttributeParams"/>
                                            </xsd:sequence>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                             <xsd:attribute name="version" type="xsd:string" use="optional"/>
                             <xsd:attribute name="application" type="xsd:string" use="required" />
                             <xsd:attribute name="function" type="xsd:string" use="required" />
                             <xsd:attribute name="mode" type="xsd:string" use="optional"/>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:schema>
         </types>
         <message name="OblixIDXMLInput">
              <part name="authentication" element="oblix:authentication"/>
              <part name="request" element="oblixxmllocalschema:request"/>
         </message>
         <message name="OblixIDXMLOutput">
              <part name="body" element="oblix:Oblix"/>
         </message>
         <portType name="OblixIDXMLPortType">
              <operation name="OblixIDXML_um_workflowSaveCreateProfile">
                   <input message="tns:OblixIDXMLInput"/>
                   <output message="tns:OblixIDXMLOutput"/>
              </operation>
         </portType>
         <binding name="OblixIDXML_um_workflowSaveCreateProfile_Binding" type="tns:OblixIDXMLPortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="OblixIDXML_um_workflowSaveCreateProfile">
                   <soap:operation soapAction="http://www.oblix.com/"/>
                   <input>
                        <soap:body use="literal"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
              </operation>
         </binding>
    </definitions>
    I am using WSDL2 Java for generating the client code .
    Please suggest where am I wrong .
    E:\axis2-1.4\bin>WSDL2Java -uri E:\DIPPWF\um_workflowSaveCreateProfile.wsdl -p R
    ND -d adb -s -o build\client--http-proxy-host 10.74.93.35 --http-proxy-port 80
    Using AXIS2_HOME: E:\axis2-1.4
    Using JAVA_HOME: C:\Program Files\Java\jdk1.6.0_02
    Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
    Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
    ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
    ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
    owSaveCreateProfile.xsd'.
    Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
    rkflowSaveCreateProfile.xsd'.
    Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
    ma/workflowSaveCreateProfile.xsd'.
    Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
    omponent_basic.xsd'.
    Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
    nt_basic.xsd'.
    Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
    F/XMLSchema/workflowSaveCreateProfile.xsd'.
    Retrieving document at 'E:\DIPPWF\um_workflowSaveCreateProfile.wsdl'.
    Retrieving document at 'um_workflowSaveCreateProfile_interface.wsdl', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_parameters.xsd', relative to 'f
    ile:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/common_authentication.xsd', relative t
    o 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'E:/DIPPWF/XMLSchema/workflowSaveCreateProfile.xsd', relati
    ve to 'file:/E:/DIPPWF/um_workflowSaveCreateProfile_interface.wsdl'.
    Retrieving schema at 'navbar.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/workfl
    owSaveCreateProfile.xsd'.
    Retrieving schema at 'searchform.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/wo
    rkflowSaveCreateProfile.xsd'.
    Retrieving schema at 'component_basic.xsd', relative to 'file:/E:/DIPPWF/XMLSche
    ma/workflowSaveCreateProfile.xsd'.
    Retrieving schema at 'displaytype.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/c
    omponent_basic.xsd'.
    Retrieving schema at 'error.xsd', relative to 'file:/E:/DIPPWF/XMLSchema/compone
    nt_basic.xsd'.
    Retrieving schema at 'component_workflowTicket.xsd', relative to 'file:/E:/DIPPW
    F/XMLSchema/workflowSaveCreateProfile.xsd'.
    *[ERROR] More than one part for message OblixIDXMLInput*
    org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
    More than one part for message OblixIDXMLInput
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1162)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1085)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
    ng(WSDL11ToAxisServiceBuilder.java:686)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    int(WSDL11ToAxisServiceBuilder.java:538)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    ints(WSDL11ToAxisServiceBuilder.java:489)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:363)
    at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
    llServices(WSDL11ToAllAxisServicesBuilder.java:107)
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:147)
    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
    Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
    : Error parsing WSDL
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:153)
    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
    Caused by: org.apache.axis2.AxisFault: More than one part for message OblixIDXML
    Input
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:397)
    at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
    llServices(WSDL11ToAllAxisServicesBuilder.java:107)
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
    ionEngine.java:147)
    ... 2 more
    Caused by: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
    gException: More than one part for message OblixIDXMLInput
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1162)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameRefer
    ence(WSDL11ToAxisServiceBuilder.java:1085)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBindi
    ng(WSDL11ToAxisServiceBuilder.java:686)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    int(WSDL11ToAxisServiceBuilder.java:538)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
    ints(WSDL11ToAxisServiceBuilder.java:489)
    at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
    ce(WSDL11ToAxisServiceBuilder.java:363).
    Thanks in advance.
    akshay

    Hello,
    Were you able to resolve this issue ?
    I am seeing the same issue and at my wits end.
    regards
    Amit

  • Problem in client generation from wsdl file

    Hi i am trying to generate client from a wsdl file through apache cxf framework, but it throws WSDLRefValidator error.
    Here is the error statment:
    Oct 11, 2012 11:51:33 AM org.apache.cxf.tools.validator.internal.WSDLRefValidator collectValidationPoints
    WARNING: WSDL document file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl does not define any services
    WSDLToJava Error:
    line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
    org.apache.cxf.tools.common.ToolException:
    line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:203)
         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:119)
         at org.apache.cxf.tools.validator.internal.SchemaValidator.isValid(SchemaValidator.java:103)
         at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:157)
         at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:204)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:182)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:142)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:300)
    The excerpt from wsdl file is provided below:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="PlmWebserviceImportGcas.wsdl" targetNamespace="D:/webservice">
    <wsdl:types>
    <xsd:schema xmlns="http://www.pg.com/css/webservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.pg.com/css/webservice">
    *<WL5G3N0:definitions xmlns="" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:WL5G3N2="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:WL5G3N3="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:WL5G3N4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:WL5G3N5="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:WL5G3N6="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:WL5G3N7="http://www.pg.com/WS/FormulaHubWS" xmlns:WL5G3N8="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.pg.com/WS/FormulaHubWS">*
    <WL5G3N0:types>
    <xsd:schema xmlns="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:CSS_SubmitFormulaOutput.xsd="http://pg.com/Inputs/CSS_SubmitFormulaOutput" xmlns:ns2="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:ns3="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:ns4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:ns5="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:ns6="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:ns7="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.pg.com/WS/FormulaHubWS" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput">
                                  <xsd:import namespace="http://pg.com/Inputs/CSS_SubmitFormulaOutput"/>
                                  <xsd:element name="SubmitFormulatoCSSOutput">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element ref="CSS_SubmitFormulaOutput.xsd:SubmitFormulatoCSS_Output"/>
    It seems to be problem with tag WL5G3NO declaration.
    Can anyone suggest how to rectify this?
    Thanks

    Have you tried pulling the schema out of the wsdl and putting it in a xsd file and see if it validates?
    Otherwise, have you tried removing the xmlns:"" from <WL5G3N0:definitions xmlns:"".
    Edited by: C.Stodden on Oct 11, 2012 8:52 AM

  • Clientgen in WL 81 giving problems for stub generation from WL91 WSDL

    Hi,
    I am very new to this forum and new to Weblogic too.
    Here is my problem. I generated a webservice from a Stateless Session bean using annotation in WebLogic 91. Used the "jwsc"/"wldeploy" to generate and deploy the webservice. Also generated the client stubs using "clientgen" in weblogic 91.
    Created a small web application using a single jsp and servlet (the servlet is where i invoke the service).
    Everything works fine till its weblogic 91.
    Now the problem. I need to make the jsp work from Weblogic 81. So I am trying to create the client stubs from the service endpoint WSDL on WebLogic 91 by using the deployed webservice URL.
    The clientgen in WL 81 is complaining that the "parameters" is already defined (Please see the error below".
    I would assume that BEA would have tested this scenario as it should be a no-brainer. So why does the cleintgen in WL 81 complain. Is there any other step or way that I am missing. I have tried all sorts of things before posting to this forum (like 1. generating the stubs using WSDL2JAVA using axis -- WebLogic 81 gives a null pointer exception 2. generating the client stubs using "clientgen" in WL 91 and trying to compile using the jdk 1.4 and using in WL 81 -- complains that the couldnot find something like jax-rpc._._.ServiceImpl
    Will be realy helpful if someone who had this kind of experience of someone from BEA can help me a little bit.
    Thanks in advance to all for your time.
    ERROR WHILE using CLIENGEN
    build-client:
    [clientgen] Generating client jar for http://localhost:7001/webservice/MAC/Metho
    dsAccessControl?WSDL ...
    [clientgen] WARNING: Map ['http://elexnet.bah.com/methods']:ArrayOfint_literal i
    ncompliantly with JAX-RPC, mapping to a Java array of .int
    [clientgen] WARNING: Map ['http://elexnet.bah.com/methods']:ArrayOfMethodUserTO_
    literal incompliantly with JAX-RPC, mapping to a Java array of com.bah.elexnet.s
    erver.to.MethodUserTO
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:15: par
    ameters is already defined in unArchiveUser(com.bah.elexnet.methods.UnArchiveUse
    r,com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder)
    [clientgen] public void unArchiveUser(com.bah.elexnet.methods.UnArchiveUser pa
    rameters, com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:21: par
    ameters is already defined in editUserRoles(com.bah.elexnet.methods.EditUserRole
    s,com.bah.elexnet.methods.holders.EditUserRolesResponseHolder)
    [clientgen] public void editUserRoles(com.bah.elexnet.methods.EditUserRoles pa
    rameters, com.bah.elexnet.methods.holders.EditUserRolesResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:27: par
    ameters is already defined in getUsers(com.bah.elexnet.methods.GetUsers,com.bah.
    elexnet.methods.holders.GetUsersResponseHolder)
    [clientgen] public void getUsers(com.bah.elexnet.methods.GetUsers parameters,
    com.bah.elexnet.methods.holders.GetUsersResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:33: par
    ameters is already defined in addUserRoles(com.bah.elexnet.methods.AddUserRoles,
    com.bah.elexnet.methods.holders.AddUserRolesResponseHolder)
    [clientgen] public void addUserRoles(com.bah.elexnet.methods.AddUserRoles para
    meters, com.bah.elexnet.methods.holders.AddUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:39: par
    ameters is already defined in archiveUser(com.bah.elexnet.methods.ArchiveUser,co
    m.bah.elexnet.methods.holders.ArchiveUserResponseHolder)
    [clientgen] public void archiveUser(com.bah.elexnet.methods.ArchiveUser parame
    ters, com.bah.elexnet.methods.holders.ArchiveUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:45: par
    ameters is already defined in changeSystemPassword(com.bah.elexnet.methods.Chang
    eSystemPassword,com.bah.elexnet.methods.holders.ChangeSystemPasswordResponseHold
    er)
    [clientgen] public void changeSystemPassword(com.bah.elexnet.methods.ChangeSys
    temPassword parameters, com.bah.elexnet.methods.holders.ChangeSystemPasswordResp
    onseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:51: par
    ameters is already defined in deleteUser(com.bah.elexnet.methods.DeleteUser,com.
    bah.elexnet.methods.holders.DeleteUserResponseHolder)
    [clientgen] public void deleteUser(com.bah.elexnet.methods.DeleteUser paramete
    rs, com.bah.elexnet.methods.holders.DeleteUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:57: par
    ameters is already defined in getUserRoles(com.bah.elexnet.methods.GetUserRoles,
    com.bah.elexnet.methods.holders.GetUserRolesResponseHolder)
    [clientgen] public void getUserRoles(com.bah.elexnet.methods.GetUserRoles para
    meters, com.bah.elexnet.methods.holders.GetUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:20
    : parameters is already defined in unArchiveUser(com.bah.elexnet.methods.UnArchi
    veUser,com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder)
    [clientgen] public void unArchiveUser(com.bah.elexnet.methods.UnArchiveUser pa
    rameters, com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:39
    : parameters is already defined in editUserRoles(com.bah.elexnet.methods.EditUse
    rRoles,com.bah.elexnet.methods.holders.EditUserRolesResponseHolder)
    [clientgen] public void editUserRoles(com.bah.elexnet.methods.EditUserRoles pa
    rameters, com.bah.elexnet.methods.holders.EditUserRolesResponseHolder parameters
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:58
    : parameters is already defined in getUsers(com.bah.elexnet.methods.GetUsers,com
    .bah.elexnet.methods.holders.GetUsersResponseHolder)
    [clientgen] public void getUsers(com.bah.elexnet.methods.GetUsers parameters,
    com.bah.elexnet.methods.holders.GetUsersResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:77
    : parameters is already defined in addUserRoles(com.bah.elexnet.methods.AddUserR
    oles,com.bah.elexnet.methods.holders.AddUserRolesResponseHolder)
    [clientgen] public void addUserRoles(com.bah.elexnet.methods.AddUserRoles para
    meters, com.bah.elexnet.methods.holders.AddUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:96
    : parameters is already defined in archiveUser(com.bah.elexnet.methods.ArchiveUs
    er,com.bah.elexnet.methods.holders.ArchiveUserResponseHolder)
    [clientgen] public void archiveUser(com.bah.elexnet.methods.ArchiveUser parame
    ters, com.bah.elexnet.methods.holders.ArchiveUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:11
    5: parameters is already defined in changeSystemPassword(com.bah.elexnet.methods
    .ChangeSystemPassword,com.bah.elexnet.methods.holders.ChangeSystemPasswordRespon
    seHolder)
    [clientgen] public void changeSystemPassword(com.bah.elexnet.methods.ChangeSys
    temPassword parameters, com.bah.elexnet.methods.holders.ChangeSystemPasswordResp
    onseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:13
    4: parameters is already defined in deleteUser(com.bah.elexnet.methods.DeleteUse
    r,com.bah.elexnet.methods.holders.DeleteUserResponseHolder)
    [clientgen] public void deleteUser(com.bah.elexnet.methods.DeleteUser paramete
    rs, com.bah.elexnet.methods.holders.DeleteUserResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
    198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType_Stub.java:15
    3: parameters is already defined in getUserRoles(com.bah.elexnet.methods.GetUser
    Roles,com.bah.elexnet.methods.holders.GetUserRolesResponseHolder)
    [clientgen] public void getUserRoles(com.bah.elexnet.methods.GetUserRoles para
    meters, com.bah.elexnet.methods.holders.GetUserRolesResponseHolder parameters)
    [clientgen]
    ^
    [clientgen] 16 errors
    [clientgen] java.io.IOException: Compiler failed executable.exec
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
    ilerInvoker.java:470)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:328)
    [clientgen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
    er.java:336)
    [clientgen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
    leFiles(CompilerHelper.java:80)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
    eStubs(ClientGenImpl.java:627)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
    teStub(ClientGenImpl.java:572)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromWsdl(ClientGenImpl.java:409)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:340)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/Projects/OtherProjects/WL/soaws/build/build.xml:122: weblogic.webservice
    .tools.build.WSBuildException: Compiler failed executable.exec - with nested exc
    eption:
    [java.io.IOException: Compiler failed executable.exec]

    did you get a solution for this issue. I am trying to generate a stub to connect to a webservice i created by exposing my stateless session EJB as a web service, using annotations. I want to create a client stub using the clientgen from weblogic 81. I am unable to do this, do you have any solution to this.

  • Invoking Imaging Web Service from BPEL is failing

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

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

  • How to get user defined class in java client of a bpel prcoess?

    I have written a simple bpel process which returns a bean class namely employee which has three String fields(name,id and email). From java client when I am invoking the prcoess the prcoess instance is starting and completing properly. From Bpel console when I check the audit of the instance, it shows everything as expected. But in client class instead of three strings I am getting only first string i.e email in response. I checked the mapping and all WSDL files but could not find a proper reason. I am attaching the wsdls of bpel prcoess and the client code:
    BPELProcess5.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="BPELProcess5"
    targetNamespace="http://xmlns.oracle.com/BPELProcess5"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/BPELProcess5"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:sq="http://xmlns.oracle.com/BPELProcess5/bean">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and us them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
    <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/BPELProcess5/bean"
                   xmlns="http://www.w3.org/2001/XMLSchema">
    <complexType name="employeetype" >
    <all>
    <element name="fname" type="string"/>
    <element name="lname" type="string"/>
    <element name="id" type="string"/>
         </all>
    </complexType>
    </schema>
              <schema attributeFormDefault="qualified"
                   elementFormDefault="qualified"
                   targetNamespace="http://xmlns.oracle.com/BPELProcess5"
                   xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/BPELProcess5/bean"/>
                   <element name="BPELProcess5ProcessRequest">
                        <complexType >
                             <sequence>
                                  <element name="input" type="string"/>
                             </sequence>
                        </complexType>
                   </element>
    <!--
                   <element name="BPELProcess5ProcessResponse">               
    <complexType >
                             <sequence>
                                  <element name="output" type="sq:employeetype"/>
                             </sequence>
                        </complexType>
                   </element>
    -->
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="BPELProcess5RequestMessage">
              <part name="payload" element="client:BPELProcess5ProcessRequest"/>
         </message>
         <message name="BPELProcess5ResponseMessage">
              <part name="payload" type="sq:employeetype"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the BPELProcess5 BPEL process -->
         <portType name="BPELProcess5">
              <operation name="process">
                   <input message="client:BPELProcess5RequestMessage" />
                   <output message="client:BPELProcess5ResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="BPELProcess5">
              <plnk:role name="BPELProcess5Provider">
                   <plnk:portType name="client:BPELProcess5"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>
    BPELPrcoess5.bpel
    // Oracle JDeveloper BPEL Designer
    // Created: Thu Jul 14 16:50:15 IST 2005
    // Author: Arka
    // Purpose: Synchronous BPEL Process
    -->
    <process name="BPELProcess5" targetNamespace="http://xmlns.oracle.com/BPELProcess5" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ns1="http://demows/handler/SessionEJB.wsdl" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.oracle.com/BPELProcess5/bean" xmlns:client="http://xmlns.oracle.com/BPELProcess5" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- 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="client:BPELProcess5" myRole="BPELProcess5Provider"/>
    <partnerLink myRole="SessionEJBPortType_Role" name="PartnerLink_1" partnerRole="SessionEJBPortType_Role" partnerLinkType="ns1:SessionEJBPortType_PL"/>
    </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="inputVariable" messageType="client:BPELProcess5RequestMessage"/><!--
    Reference to the message that will be returned to the requester
    -->
    <variable name="outputVariable" messageType="client:BPELProcess5ResponseMessage"/>
    <variable name="Invoke_1_getEmployee_InputVariable" messageType="ns1:getEmployee1Request"/>
    <variable name="Invoke_1_getEmployee_OutputVariable" messageType="ns1:getEmployee1Response"/>
    </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 BPELProcess5.wsdl
    -->
    <receive name="receiveInput" partnerLink="client" portType="client:BPELProcess5" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:BPELProcess5ProcessRequest/client:input"/>
    <to variable="Invoke_1_getEmployee_InputVariable" part="empid"/>
    </copy>
    </assign>
    <invoke name="Invoke_1" partnerLink="PartnerLink_1" portType="ns1:SessionEJBPortType" operation="getEmployee" inputVariable="Invoke_1_getEmployee_InputVariable" outputVariable="Invoke_1_getEmployee_OutputVariable"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_1_getEmployee_OutputVariable" part="return" query="/return/fname"/>
    <to variable="outputVariable" part="payload" query="/payload/ns2:fname"/>
    </copy>
    <copy>
    <from variable="Invoke_1_getEmployee_OutputVariable" part="return" query="/return/lname"/>
    <to variable="outputVariable" part="payload" query="/payload/ns2:lname"/>
    </copy>
    <copy>
    <from variable="Invoke_1_getEmployee_OutputVariable" part="return" query="/return/id"/>
    <to variable="outputVariable" part="payload" query="/payload/ns2:id"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client" portType="client:BPELProcess5" operation="process" variable="outputVariable"/>
    </sequence>
    </process>
    myClient.java
    package mypackage2;
    import bean.EmployeeBean;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.rpc.ParameterMode;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceException;
    import javax.xml.rpc.ServiceFactory;
    import javax.xml.rpc.encoding.XMLType;
    import javax.xml.rpc.soap.SOAPFaultException;
    import org.apache.axis.Constants;
    import org.apache.axis.client.Call;
    public class myClient
    private static QName SERVICE_NAME;
    private static QName PORT_TYPE;
    private static QName OPERATION_NAME;
    private static String SOAP_ACTION;
    private static String STYLE;
    private static String THIS_NAMESPACE = "http://xmlns.oracle.com/BPELProcess5";
    private static String PARAMETER_NAMESPACE = "http://xmlns.oracle.com/BPELProcess5";
    private String location;
    static
    SERVICE_NAME = new QName(THIS_NAMESPACE,"BPELProcess5");
    PORT_TYPE = new QName(THIS_NAMESPACE,"BPELProcess5") ;
    OPERATION_NAME = new QName(THIS_NAMESPACE,"BPELProcess5ProcessRequest");
    SOAP_ACTION = "process";
    STYLE = "wrapped";
    public myClient()
    public void setLocation(String location)
    this.location = location;
    public void initiate(String symbol)
    try
    DeserializerImpl des = new DeserializerImpl();
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service service = serviceFactory.createService( SERVICE_NAME );
    Call call = (Call)service.createCall( PORT_TYPE );
    call.setTargetEndpointAddress( location );
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOAP_ACTION);
    call.setOperationName(OPERATION_NAME);
    call.addParameter(new QName(PARAMETER_NAMESPACE,"input"), XMLType.XSD_STRING, ParameterMode.IN);
    Object[] params = new Object[1];
    params[0] = "1";
    call.setReturnType(new QName("http://xmlns.oracle.com/BPELProcess5", "BPELProcess5ProcessResponse"), EmployeeBean.class);
    EmployeeBean response = (EmployeeBean)call.invoke(params);
    System.out.println( " BPEL process initiated" );
    catch (SOAPFaultException e)
    System.err.println("Generated fault: ");
    System.out.println (" Fault Code = " + e.getFaultCode());
    System.out.println (" Fault String = " + e.getFaultString());
    catch (JAXRPCException e)
    System.err.println("JAXRPC Exception: " + e.getMessage());
    catch (ServiceException e)
    System.err.println("Service Exception: " + e.getMessage());
    catch(RemoteException e)
    System.err.println("Remote Exception: " + e.getMessage());
    public static void main(String[] args)
    String location = "http://localhost:9700/orabpel/default/BPELProcess5/1.0";
    myClient client = new myClient();
         client.setLocation( location );
    client.initiate( "" );
    }

    Hi Abdul,
    From the document, we know that CONSTRAINED flag is used to reduce the risk of injection attacks via the specified string. If a string is provided that is not directly resolvable to qualified
    or unqualified member names, the following error appears: "The restrictions imposed by the CONSTRAINED flag in the STRTOSET function were violated."
    So you need to make sure the members are passed properly to the STRTOSET function. For more details, please see the following links:
    http://ch1n2.wordpress.com/2010/02/21/the-restrictions-imposed-by-the-constrained-flag-in-the-strtoset-function-were-violated/
    http://www.bp-msbi.com/2010/04/passing-unconstrained-set-and-member-parameters-between-reports-in-reporting-services/
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to invoke A CORBA-Java Client Application, from Oracle???

    Hi,
    I have a CORBA-Java Client Application, which takes the input parameters from a Oracle table and calls the CORBA Server, passes these parameters to the C++ Server Application and gets the results back thorugh CORBA.
    My problem is, this java application needs to be invoked, when ever there is a new record in the Oracle table.
    I am not sure if i can use Java Stored Procedures in Oracle in this case, because my app is in Sun JVM and i am using BEA WebLogic Enterprise 5.1 for the CORBA.
    Is there any other way by which i can invoke this app, when a new record is updated in the Oracle table?
    Currently, i have just put a TIMER in my java App, to check the oracle table in every few seconds, to see if there is a new reocrd. If it finds a new record it invokes the corresponding class(corba class), or else just keep sending a messsage that no new record is available.
    The problems i am facing in this method are as follows;
    1. Unnecessarily, the application has to keep on running if there is no request coming frequently.
    2. When there is a new record found, the Corba Class is called and the whole process (till it gets the result back from the server) takes about 20 - 30 secs. But within this period, if there is another record coming into Oracle table, my timer class doesnt invoke another corba class....(though i am using multithreading by using the RemidTask method in the timer.schedule.
    (timer.schedule(new RemindTask(),10,5*1000);)
    3. Also, if during the first call, there is some error, then the whole process exits, instead of another process running parallely (when a second new record is found).
    So how does this timer class act like a multithreading process?
    Well, i hope i am not confusing....Please let me know if anyone wants bit more elaboration on this.
    It would be really helpful if someone can suggest some answer to my problem.
    Thanks in advance.

    Thank you very much Keith.
    Though i am really getting a hope of solving this problem, from you answer, i am actually not 100% sure if i understood your reply properly.
    First of all, about
    1. "use the update stored procedure to place the updated record (or unique index) onto an Oracle Application Queue."
    -- Why do i need to put the record in the AQ. (Frankly speaking, at this moment i dont have much idea about AQ, probably i can learn more about it from oracle technet site? Or would u suggest anything else?)
    Then,
    2."Your app then waits on this queue and for each new message, consumes it, gets the data required from the AQ load (e.g the index and or record), and fires off the CORBA class"
    -- How does my application stay in the queue? and gets the data from the queue?
    Of course, as far as i understand, i am going through the same principle...keeping on running a timer class, which keeps on checking the table for a new record, and when it finds, it calls the CORBA class.
    Of course, i feel there should be a difference in running the timer continuosly and staying in queue. However i am totally unaware, how can i make my java app to wait in the queue and waits for a new record?
    Can you please elaborate your answer a bit more, because i dont know about the AQ, that you have mentioned.
    Thank you very much in advance for your time. But please know that it will be of great help to me and hence will be higly appreciated.
    Regards,
    Subhasree.

  • Calling normal java web service from bpel

    hi,
    i want to call a normal java web service (which has been deployed in an application server) and not a bpel process from my .bpel file.
    i see that while creating a partner link , i have to specify the wsdl file location.
    there are two options.
    from local bpel server and
    from local file system.
    since the web service is not a bpel prcess, it can not be deployed in the bpel process manager and i have to choose the wsdl file location from local file system.
    now there are some major differences in the two type of wsdl file, i.e., that of a java web service and a bpel process.
    let me give u all a concrete example.
    let i have a hello world web service which takes a name as input , concatenates the name with "hello" and outputs.
    i created a partner link to this web service.
    after creating the partner link, a local copy of the wsdl file is added into my bpel project which only contains definition import and partnerlink statements.
    but i can not progress any further.
    can any one help me out of this problem.
    also i will be helpful if any one can suggest a tutorial where bpel is used to orchestarate between normal java web services deployed in some other application server and not mere bpel processes.
    thanks & regards.
    sudipto

    Hi Sudipto,
    Just to add to the options. There are three options.
    1 and 2 as mentioned by you.
    3 you can give the hosted wsdl location directly in the text box. (i.e. somthing like http://ws.strikeiron.com/CensusData?WSDL)
    This in turn will create a local wsdl which has partnerLink info and an import of the original wsdl.
    once you have this select the appropreate Partner Link Type and Partner Role.
    HTH
    Dhaval

  • Open Oracle Form in client side from BPEL Process

    Hello,
    I'm new in BPEL and I'm trying to do a Process who open a Form before it finish. I do that with a Java embedding with the next code:
    try {                     
    Runtime.getRuntime().exec("rundll32.exe url.dll,FileProtocolHandler http://dl380:8890/forms/frmservlet?config=atender&otherparams=CLIENTE="+variable );
    } catch (Exception e) {                                                
    e.printStackTrace();
    But this code open a form in the server side and I need that it be open in the client side. Someone know what's can I do?
    I hope you help me in this!
    Thanks in advance!
    Alejandra

    Hi Sreedhar,
    Probably there are simpler options, but one thing you can do is to create a new function in Oracle to access the same form (Service Contracts Authoring), and include this in the Form Parameters:
    QUERY_ONLY="YES"
    That will make the function read only (in theory). Now you can call that function from the OAF Page instead of OKS_OKSAUDET.
    Hope it helps.

  • WebService generation from existing WSDL file :(

    Hello,
    I have just tried to create a WebService from an existing WSDL (which has been developed and validated with Eclipse) with JDeveloper and got the follwing stack trace. I do not think, that this error message is very usefull, because I can't see the point where it referes to my WSDL document. By the way, the Eclipse validation went through without having any trouble.
    Here are my JDeveloper coordinates to give you the chance to follow up:
    - Studio Edition Version 11.1.1.1.0
    - Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Running JDeveloper in MacOSX:
    - Version 10.5.8
    - Build 9L31a
    Cheers,
    Chris
    *** ERROR STACK TRACE ***
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1628)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2845)
         at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2610)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:750)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:353)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1085)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$6.run(SpecifyWsdlPanel.java:644)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:643)
         at java.lang.Thread.run(Thread.java:637)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/Users/user/Documents/workspace/Service/Service_V_1.wsdl": For input string: "1 "
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:655)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
         at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1358)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdeveloper.webservices.Assembler$2$1.invoke(Assembler.java:234)
         at $Proxy46.getJaxWsSeiInfo(Unknown Source)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1724)
         at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1469)
         ... 8 more
    Caused by: java.lang.NumberFormatException: For input string: "1 "
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:456)
         at java.lang.Integer.parseInt(Integer.java:497)
         at com.sun.xml.xsom.impl.parser.state.occurs.action2(occurs.java:50)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:267)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.consumeAttribute(NGCCRuntime.java:303)
         at com.sun.xml.xsom.impl.parser.state.occurs.text(occurs.java:237)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendText(NGCCRuntime.java:394)
         at com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromText(NGCCHandler.java:98)
         at com.sun.xml.xsom.impl.parser.state.particle.text(particle.java:728)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.processPendingText(NGCCRuntime.java:197)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:273)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.importSchema(NGCCRuntimeEx.java:207)
         at com.sun.xml.xsom.impl.parser.state.importDecl.action0(importDecl.java:45)
         at com.sun.xml.xsom.impl.parser.state.importDecl.leaveElement(importDecl.java:156)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:275)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.util.SubtreeCutter.endElement(SubtreeCutter.java:108)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.endElement(CustomizationContextChecker.java:194)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(XMLFilterImpl.java:546)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.endElement(DOMForestScanner.java:135)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:251)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:277)
         at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:246)
         at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:123)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:89)
         at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:97)
         at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:99)
         at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:262)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:301)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:88)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:516)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:237)
         at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
         at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)
         at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
         at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:638)
         ... 18 more

    Hello puthanampatti,
    that was exactly what I tried right now ;-)
    I figured that JDeveloper has a more strict validation than Eclipse and recognizes white spaces within certain tags.
    When I have cleaned my WSDL and XSD files I started with a new procedure of generating WebServices (form local JDeveloper files) and encountered the following issue:
    Invoking command: [ from oracle.ideimpl.palette2.GroupDockable ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: !NLS Some Name
    Invoking command:
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command:
    Invoking command: New XML Schema
    Performing action Rename...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Started CommandProcessor transaction: Rename File on thread AWT-EventQueue-0 at batch level 1
    Invoking command: noname[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Clear[ from oracle.ide.log.MessagePage ]
    Invoking command: Paste[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Delete Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Validate XML[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert Tab[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Delete Previous[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Constraints[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Attribute Completion[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: Insert[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Insert Line[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Reformat[ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Reformat on thread AWT-EventQueue-0 at batch level 1
    Invoking command: Reformat
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Toggle Line Numbers[ from oracle.ide.ceditor.CodeEditorGutter$GutterView ]
    Performing action Save[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Performing action New...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
    Uncaught exception
    java.lang.NullPointerException
      com.apple.laf.AquaListUI.repaintCell(AquaListUI.java:132)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener$1.paintSelected(AquaComboBoxUI.java:94)
      com.apple.laf.AquaUtils.blinkMenu(AquaUtils.java:200)
      com.apple.laf.AquaComboBoxUI$CoreAquaItemListener.itemStateChanged(AquaComboBoxUI.java:92)
      jx.s.JComboBox.fireItemStateChanged(JComboBox.java:1205)
      jx.s.JComboBox.selectedItemChanged(JComboBox.java:1262)
      jx.s.JComboBox.setSelectedItem(JComboBox.java:564)
      o.javatools.ui.combo.JTreeCombo$TreeClickListener.mouseClicked(JTreeCombo.java:208)
      j.a.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      j.a.Component.processMouseEvent(Component.java:6304)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4273)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
      j.a.Dialog$1.run(Dialog.java:1051)
      j.a.Dialog$3.run(Dialog.java:1103)
      j.security.AccessController.doPrivileged(Native Method)
      j.a.Dialog.show(Dialog.java:1101)
      j.a.Component.show(Component.java:1516)
      j.a.Component.setVisible(Component.java:1468)
      j.a.Window.setVisible(Window.java:841)
      j.a.Dialog.setVisible(Dialog.java:991)
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.bali.ewt.wizard.WizardDialog.runDialog()
      o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:51)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:571)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.runWizard(TopDownWizard.java:195)
      o.ji.webservices.wizard.jaxrpc.TopDownWizard.invoke(TopDownWizard.java:141)
      o.i.wizard.WizardManager.invokeWizard(WizardManager.java:317)
      o.i.wizard.WizardManager$1.run(WizardManager.java:365)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager$2.run(WizardManager.java:373)
      o.i.util.IdeUtil$3.run(IdeUtil.java:1079)
      o.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:520)
      o.i.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1092)
      o.i.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:369)
      o.i.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:386)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:208)
      o.i.gallery.ObjectGallery.runDialog(ObjectGallery.java:128)
      o.i.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:333)
      o.i.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:206)
      o.i.controller.IdeAction.performAction(IdeAction.java:524)
      o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
      o.i.controller.IdeAction.actionPerformed(IdeAction.java:496)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.AbstractButton.doClick(AbstractButton.java:389)
      jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
      com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:120)
      jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
      j.a.Component.processMouseEvent(Component.java:6301)
      jx.s.JComponent.processMouseEvent(JComponent.java:3265)
      j.a.Component.processEvent(Component.java:6066)
      j.a.Container.processEvent(Container.java:2085)
      j.a.Component.dispatchEventImpl(Component.java:4667)
      j.a.Container.dispatchEventImpl(Container.java:2143)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4600)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4264)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4194)
      j.a.Container.dispatchEventImpl(Container.java:2129)
      j.a.Window.dispatchEventImpl(Window.java:2475)
      j.a.Component.dispatchEvent(Component.java:4497)
      j.a.EventQueue.dispatchEvent(EventQueue.java:635)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)Has anybody a clue about what's going on with my JDev?
    Cheers,
    chris
    Edited by: Christoph E on Oct 19, 2009 4:30 PM

  • Calling a WD java Application URL from a wsdl at PI

    Hi experts ,
    we have a requirement where a wsdl at PI server should call a webdynpro java application , the URL of the application is  given to PI Team, but they are unable to call my webdynpro java application , is there any standard way of doing this..
    Regards
    Govardan

    are u sure this is your requirement?
    pi is not suppose to call that url
    wdj is supposed to be call by human via browser....

  • NWDS Java client creation

    Hi Experts,
    Could you provide the link/doc to create a Java client for the webservices(wsdl file) from NWDS?
    Thanks & Regards
    Sara

    Hi Sara,
    There is a difference in the way NWDI generated the service interface for web services client in SP3.
    Until SP3 we used tha SUN RI JAX-WS runtime. In order to deliver the WSDL location packaged with the archive we used ClassLoader.getResource(..).
    SP3 uses SAP JAX-WS Runtime which extracts the WSDL Location from annotations in case of deployable client and from static variable when the clients are standalone.
    However we made a distinct difference and changed the generation so deployable clients could no be instantiated with "new" and the default constructor.
    It should be clarified that deplyable clients should be instantiated using JNDI lookup or injection wuth @WebServiceRef annotation.
    So if you need a standalone WS client generate a standalone proxy from the NWDI and it will contain the required code for initialization.
    If you are making a java ee application please use the instantiation methods advised by the jave ee specification (lookup or injection).
    Check these articles
    http://pt.sun.com/sunnews/events/2006/javapt/pdf/SAP_JavaPT06_16102006.pdf
    Web Services Development in Java
    http://www.sapag.co.in/Portal-HOW-to/How%20to%20Configure%20the%20J2EE%20Engine%20Deployment%20Descriptor.pdf
    https://admin.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309c816e-7c51-2a10-05b6-9e0151d0ea2d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90d95d37-3f65-2a10-8fa9-a13738c93ea7
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b5e9a90-0201-0010-39bd-ca7430d64c92
    Hope this help.
    Regards,
    Suryanarayana

  • 401 Error on Consuming SharePoint Versions Web Service by java client running on Unix Machine

    In my organiszation I have sharepoint site of our project. I have a java client to consume Versions Web Service offered by SharePoint. The response received from web service without any issue when triggered from a client running on windows machine on
    intranet.
    When same java client ran from UNIX server on same intranet, it gives 401 error. Is there some different approach required for authentication while connecting from unix machine?
    Thanks in advance.

    Hello,
    Are you passing credential in code? If not then try to add using networkcredential.
    If you are passing then make sure that current user is having access on SP site and your javaserver is setup for NTLM security. Here is few links for same issue which could help you troubleshoot the issue
    http://stackoverflow.com/questions/8884152/ntlm-fails-when-consuming-sharepoint-web-service-from-java
    http://www.pentalogic.net/sharepoint-products/reminder/reminder-manual?p=troubleshooting%2F401errors%2F401errors.htm
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Passing complex object from bpel process to web service

    I have deployed my web service on apache axis.The wsdl file looks like as follows,
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://bpel.jmetro.actiontech.com" xmlns:intf="http://bpel.jmetro.actiontech.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ADLevelBpelWS">
    - <sequence>
    <element name="adLevelStr" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:int" />
    </sequence>
    </complexType>
    - <complexType name="TransResultWS">
    - <sequence>
    <element name="description" nillable="true" type="xsd:string" />
    <element name="id" type="xsd:long" />
    <element name="responseType" type="xsd:int" />
    <element name="status" type="xsd:boolean" />
    </sequence>
    </complexType>
    - <complexType name="NamespaceDataImplBpelWS">
    - <sequence>
    <element name="ADLevel" nillable="true" type="impl:ADLevelBpelWS" />
    <element name="appdataDef" nillable="true" type="apachesoap:Map" />
    <element name="description" nillable="true" type="xsd:string" />
    <element name="name" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="CreateSharedNamespaceBpelWS">
    - <sequence>
    <element name="actor" nillable="true" type="xsd:string" />
    <element name="comment" nillable="true" type="xsd:string" />
    <element name="from" nillable="true" type="xsd:string" />
    <element name="namespaceData" nillable="true" type="impl:NamespaceDataImplBpelWS" />
    <element name="priority" type="xsd:int" />
    <element name="processAtTime" nillable="true" type="xsd:dateTime" />
    <element name="replyTo" nillable="true" type="xsd:string" />
    <element name="responseRequired" type="xsd:boolean" />
    </sequence>
    </complexType>
    </schema>
    - <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="mapItem">
    - <sequence>
    <element name="key" nillable="true" type="xsd:string" />
    <element name="value" nillable="true" type="xsd:string" />
    </sequence>
    </complexType>
    - <complexType name="Map">
    - <sequence>
    <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>
    + <wsdl:message name="createNamespaceRequest">
    <wsdl:part name="createNs" type="impl:CreateSharedNamespaceBpelWS" />
    </wsdl:message>
    - <wsdl:message name="createNamespaceResponse">
    <wsdl:part name="createNamespaceReturn" type="impl:TransResultWS" />
    </wsdl:message>
    - <wsdl:portType name="JMetroWebService">
    - <wsdl:operation name="createNamespace" parameterOrder="createNs">
    <wsdl:input message="impl:createNamespaceRequest" name="createNamespaceRequest" />
    <wsdl:output message="impl:createNamespaceResponse" name="createNamespaceResponse" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="NAMESPACEWITHMAPSoapBinding" type="impl:JMetroWebService">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="createNamespace">
    <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="createNamespaceRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:input>
    - <wsdl:output name="createNamespaceResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://bpel.jmetro.actiontech.com" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="JMetroWebServiceService">
    - <wsdl:port binding="impl:NAMESPACEWITHMAPSoapBinding" name="NAMESPACEWITHMAP">
    <wsdlsoap:address location="http://localhost:7001/axis/services/NAMESPACEWITHMAP" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    My NamespaceDataObjectImplBpelWS object contains element appDataDef which is of type java.util.Map.My bpel wsdl file is as below,
    <?xml version="1.0"?>
    <definitions name="NsWithMap"
    targetNamespace="http://bpel.jmetro.actiontech.com"
    xmlns:tns="http://bpel.jmetro.actiontech.com"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    >
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    TYPE DEFINITION - List of services participating in this BPEL process
    The default output of the BPEL designer uses strings as input and
    output to the BPEL Process. But you can define or import any XML
    Schema type and us them as part of the message types.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <types>
         <schema targetNamespace="http://bpel.jmetro.actiontech.com" xmlns="http://www.w3.org/2001/XMLSchema">
         <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
              <element name="createNamespace" type="tns:CreateSharedNamespaceBpelWS"/>
              <element name="transResult" type="tns:TransResultWS"/>
              <complexType name="TransResultWS">
                   <sequence>
                        <element name="description" type="string" />
                        <element name="id" type="long" />
                        <element name="responseType" type="int" />
                        <element name="status" type="boolean" />
              </sequence>
              </complexType>
              <complexType name="ADLevelBpelWS">
                   <sequence>
                        <element name="adLevelStr" type="string" />
                        <element name="id" type="int" />
                   </sequence>
              </complexType>
              <complexType name="NamespaceDataImplBpelWS">
                   <sequence>
                        <element name="ADLevel" type="tns:ADLevelBpelWS" />
                        <element name="description" type="string" />
                        <element name="name" type="string" />
                        <element name="appdataDef" type="apachesoap:Map" />
                   </sequence>
              </complexType>
              <complexType name="CreateSharedNamespaceBpelWS">
                   <sequence>
                        <element name="namespaceData" type="tns:NamespaceDataImplBpelWS" />
              </sequence>
              </complexType>
         <element name="desc" type="string"/>
         </schema>
         <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
                        <complexType name="mapItem">
                             <sequence>
                                  <element name="key" type="string" />
                                  <element name="value" type="string" />
                        </sequence>
                        </complexType>
                        <complexType name="Map">
                             <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem" />
                             </sequence>
                        </complexType>
              </schema>
    </types>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MESSAGE TYPE DEFINITION - Definition of the message types used as
    part of the port type defintions
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <message name="NsWithMapRequestMessage">
    <part name="payload" element="tns:createNamespace"/>
    </message>
    <message name="NsWithMapResponseMessage">
    <part name="payload" element="tns:transResult"/>
    </message>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PORT TYPE DEFINITION - A port type groups a set of operations into
    a logical service unit.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- portType implemented by the NsWithMap BPEL process -->
    <portType name="NsWithMap">
    <operation name="initiate">
    <input message="tns:NsWithMapRequestMessage"/>
    </operation>
    </portType>
    <!-- portType implemented by the requester of NsWithMap BPEL process
    for asynchronous callback purposes
    -->
    <portType name="NsWithMapCallback">
    <operation name="onResult">
    <input message="tns:NsWithMapResponseMessage"/>
    </operation>
    </portType>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PARTNER LINK TYPE DEFINITION
    the NsWithMap partnerLinkType binds the provider and
    requester portType into an asynchronous conversation.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <plnk:partnerLinkType name="NsWithMap">
    <plnk:role name="NsWithMapProvider">
    <plnk:portType name="tns:NsWithMap"/>
    </plnk:role>
    <plnk:role name="NsWithMapRequester">
    <plnk:portType name="tns:NsWithMapCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    I am trying to set this map data using java code ,
         HashMap procADMap1 = new HashMap(5);
                   PropertyTypeWS pType = new PropertyTypeWS();
                   pType.setTypeIndex(2);     
              AppdataDefImplWS appData1 = new AppdataDefImplWS();
              appData1.setName("Project");
              appData1.setType(pType);
              appData1.setMaxSize(400);
              appData1.setLOB(false);
         appData1.setDefaultValue("Project Default value");
              procADMap1.put(appData1.getName(), appData1);
              setVariableData("request","createNs","/createNs/namespaceData/appdataDef",procADMap1);     
    Then I am passing request object to the method which I want to invoke from bpel process.
    I am able to deploy the application but when I do post message I am getting following exception,
    NamespaceWithMap (createNamespace) (faulted)
    [2004/09/09 18:35:54] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. Less
    faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    code: {Server.userException}
    summary: {org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.}
    detail: {null}
    Is there any other way to handle Map type in bpel process?
    Thanks in advance,
    Sanjay

    Thanks for the quick reply.Actually the web service is already deployed on the server.What I want to do is use existing wsdl file of the deployed web service and invoke the method of the same using oracle PM.
    If I remove element which uses apachesoap:Map type it just works fine also I am getting the complex object returned by the web service method.But when I try to set appDataDef which is of type apachesoap:Map(Axis conversion for java.util.Map and it uses namespace xmlns:apachesoap="http://xml.apache.org/xml-soap") I am getting the error.
    Can you give me some direction to use this exising wsdl file to set map object or it is not possible.

  • Problem while trying to get task payload in java client.

    Hi,
    I am working on worklist application in 10.1.3 and trying to get task payload in java client.
    In BPEL proces, assigning a XML as following:
    <copy>
    <from expression="bpws:getVariableData('inputVariable','payload','/client:ErrorHandlerBPELProcessRequest/client:inputXML')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:payload"/>
    </copy>
    And in java client:
    Element payload = (Element)task.getPayloadAsElement();
    String xml = payload.getNodeValue();
    Result is a null value for xml. I am able to see the input XML is assigned to task payload in BPEL console and payload object is as "oracle.xml.parser.v2.XMLElement@13ae670"
    I also tried with getPayload() which returns oracle.bpel.services.workflow.task.model.AnyTypeImpl object.
    Any help is appreciated.
    Thanks,
    -Vidya

    Hi,
    Thanks for the reply.
    When I checked for childnodes also, it is showing zero childnodes.
    I had tried with both getTaskQueryService().getTaskDetailsById() method and getTaskQueryService().getTaskVersionDetails() to get details about task.
    I am able to fetch all other details except payload which has been assgined in BPEL process. I don't know why payload is not available.
    Following is input for intiatetask:
    <initiateTaskInput>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    -<task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>OAG XML</title>
    <payload>
         <SyncPurchaseOrder releaseID="9.0" xmlns:ccf="http://www.oracle.com/XSL/Transform/java/com.myorg.integration.xpathfunctions.xsl.LookupFunctions" xmlns:ns1="http://www.openapplications.org/oagis/9" xmlns="http://www.openapplications.org/oagis/9">
         <ns1:ApplicationArea>
         <ns1:Sender>
              <ns1:LogicalID>
                                       LogicalID
                                       OAG Server Name</ns1:LogicalID>
              <ns1:ComponentID schemeAgencyName="'Jabil'">RR
                                  </ns1:ComponentID>
              <ns1:TaskID schemeAgencyName=" ">Inbound Order Event</ns1:TaskID>
              <ns1:ReferenceID>129537</ns1:ReferenceID>
              <ns1:ConfirmationCode>Never</ns1:ConfirmationCode>
         </ns1:Sender>
         <ns1:CreationDateTime>1969-12-31T18:59:50-05:00</ns1:CreationDateTime>
         <ns1:BODID>RR~4556839~129537</ns1:BODID>
         </ns1:ApplicationArea>
         <ns1:DataArea>
         <ns1:Sync/>
         <ns1:PurchaseOrder>
              <ns1:PurchaseOrderHeader>
              <ns1:DocumentID>
              <ns1:ID>4556839</ns1:ID>
              <ns1:VariationID schemeName="Version" schemeID=""/>
              </ns1:DocumentID>
              <ns1:Note status="Comments">test Rr inbound header notes</ns1:Note>
              <ns1:DocumentReference type="Contract">
              <ns1:DocumentID>
                   <ns1:ID>OSS1</ns1:ID>
              </ns1:DocumentID>
              </ns1:DocumentReference>
              <ns1:DocumentReference type="OrderProcessType">
              <ns1:DocumentID>
                   <ns1:ID>POI</ns1:ID>
              </ns1:DocumentID>
              </ns1:DocumentReference>
              <ns1:DocumentReference type="clientRefNo1">
              <ns1:DocumentID>
                   <ns1:ID>TEST CLIENT REF1</ns1:ID>
              </ns1:DocumentID>
              </ns1:DocumentReference>
              <ns1:DocumentReference type="clientRefNo2">
              <ns1:DocumentID>
                   <ns1:ID>TEST CLIENT REF2</ns1:ID>
              </ns1:DocumentID>
              </ns1:DocumentReference>
              <ns1:Status>
              <ns1:Code>Released</ns1:Code>
              </ns1:Status>
              <ns1:Party role="TradingPartner">
              <ns1:PartyIDs>
                   <ns1:ID schemeID="Primary">HPOSS</ns1:ID>
              </ns1:PartyIDs>
              </ns1:Party>
              <ns1:SupplierParty>
              <ns1:PartyIDs>
                   <ns1:ID schemeID="SupplierEBU"/>
              </ns1:PartyIDs>
              </ns1:SupplierParty>
              <ns1:SupplierParty>
              <ns1:PartyIDs>
                   <ns1:ID schemeID="SupplierEBU"/>
              </ns1:PartyIDs>
              </ns1:SupplierParty>
              <ns1:ShipToParty>
              <ns1:PartyIDs>
                   <ns1:ID schemeID="ShipToEBU">WMXAMS_HP KITTING</ns1:ID>
              </ns1:PartyIDs>
              </ns1:ShipToParty>
              <ns1:PaymentTerm type="Primary">
              <ns1:Term>
                   <ns1:ID schemeID="Primary"/>
              </ns1:Term>
              </ns1:PaymentTerm>
              <ns1:UserArea/>
              </ns1:PurchaseOrderHeader>
              <ns1:PurchaseOrderLine>
              <ns1:LineNumber>1</ns1:LineNumber>
              <ns1:Note status="Comments">TEST LINE1 NOTES</ns1:Note>
              <ns1:Status>
              <ns1:Code/>
              <ns1:ReasonCode>BACKLIGHT INOPERATIVE</ns1:ReasonCode>
              <ns1:Reason>TEST LINE1 NOTES</ns1:Reason>
              </ns1:Status>
              <ns1:Item>
              <ns1:ItemID agencyRole="Primary">
                   <ns1:ID>71BI2532101</ns1:ID>
              </ns1:ItemID>
              <ns1:Classification type="ShipFromOwnerEBU">
                   <ns1:Codes>
                   <ns1:Code listID="Primary" sequence="1">JGS AMSTERDAM</ns1:Code>
                   </ns1:Codes>
              </ns1:Classification>
              <ns1:Classification type="Priority">
                   <ns1:Codes>
                   <ns1:Code listID="Primary" sequence="1">High</ns1:Code>
                   </ns1:Codes>
              </ns1:Classification>
              <ns1:Specification type="Warehouse">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="stkLoc">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="Bin">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="ItemsToAdd">
                   <ns1:Property>
                   <ns1:NameValue name="esb" type="SerialNumber">101</ns1:NameValue>
                   </ns1:Property>
              </ns1:Specification>
              </ns1:Item>
              <ns1:Quantity>1</ns1:Quantity>
              <ns1:UnitPrice>
              <ns1:Amount currencyID="USD">2.3</ns1:Amount>
              <ns1:PerQuantity>1</ns1:PerQuantity>
              </ns1:UnitPrice>
              <ns1:RequiredDeliveryDateTime>2007-02-22T18:00:00-05:00</ns1:RequiredDeliveryDateTime>
              <ns1:ShipToParty>
              <ns1:PartyIDs>
                   <ns1:ID schemeID="Primary">WMXAMS_HP KITTING</ns1:ID>
                   <ns1:ID schemeID="ShipToOwnerEBU">JGS AMSTERDAM</ns1:ID>
              </ns1:PartyIDs>
              <ns1:Location type="Warehouse">
                   <ns1:ID>WMXAMS_HP KITTING</ns1:ID>
              </ns1:Location>
              <ns1:Location type="StockLocation">
                   <ns1:ID>SL1</ns1:ID>
              </ns1:Location>
              <ns1:Location type="bin">
                   <ns1:ID>Bin1</ns1:ID>
              </ns1:Location>
              <ns1:Location type="Condition">
                   <ns1:ID>Workable</ns1:ID>
              </ns1:Location>
              </ns1:ShipToParty>
              <ns1:UserArea>
              <cl:myorg.SyncPurchaseOrder.PurchaseOrderLine.UserArea xmlns:cl="http://www.myorg.com/oagis">
                   <cl:Party role="ShipFrom">
                   <cl:ID/>
                   </cl:Party>
                   <cl:ShipByDate>2007-02-22T18:00:00-05:00</cl:ShipByDate>
                   <cl:ItemDetail>
                   <cl:SubInventory>
                        <cl:SubInventoryQuantity>1</cl:SubInventoryQuantity>
                        <cl:SubInventoryStatus>AVL</cl:SubInventoryStatus>
                   </cl:SubInventory>
                   </cl:ItemDetail>
                   <cl:Flex/>
              </cl:myorg.SyncPurchaseOrder.PurchaseOrderLine.UserArea>
              </ns1:UserArea>
              </ns1:PurchaseOrderLine>
              <ns1:PurchaseOrderLine>
              <ns1:LineNumber>2</ns1:LineNumber>
              <ns1:Note status="Comments">TEST LINE2 NOTES</ns1:Note>
              <ns1:Status>
              <ns1:Code/>
              <ns1:ReasonCode>BATTERY DRAINS TOO QUICKLY</ns1:ReasonCode>
              <ns1:Reason>TEST LINE2 NOTES</ns1:Reason>
              </ns1:Status>
              <ns1:Item>
              <ns1:ItemID agencyRole="Primary">
                   <ns1:ID>71BI2532101</ns1:ID>
              </ns1:ItemID>
              <ns1:Classification type="ShipFromOwnerEBU">
                   <ns1:Codes>
                   <ns1:Code listID="Primary" sequence="1">JGS AMSTERDAM</ns1:Code>
                   </ns1:Codes>
              </ns1:Classification>
              <ns1:Classification type="Priority">
                   <ns1:Codes>
                   <ns1:Code listID="Primary" sequence="1">High</ns1:Code>
                   </ns1:Codes>
              </ns1:Classification>
              <ns1:Specification type="Warehouse">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="stkLoc">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="Bin">
                   <ns1:Property sequence="1">
                   <ns1:NameValue name="esb"/>
                   </ns1:Property>
              </ns1:Specification>
              <ns1:Specification type="ItemsToAdd">
                   <ns1:Property>
                   <ns1:NameValue name="esb" type="SerialNumber">101</ns1:NameValue>
                   </ns1:Property>
              </ns1:Specification>
              </ns1:Item>
              <ns1:Quantity>1</ns1:Quantity>
              <ns1:UnitPrice>
              <ns1:Amount currencyID="USD">2.5</ns1:Amount>
              <ns1:PerQuantity>1</ns1:PerQuantity>
              </ns1:UnitPrice>
              <ns1:RequiredDeliveryDateTime>2007-02-22T18:00:00-05:00</ns1:RequiredDeliveryDateTime>
              <ns1:ShipToParty>
              <ns1:PartyIDs>
                   <ns1:ID schemeID="Primary">WMXAMS_HP KITTING</ns1:ID>
                   <ns1:ID schemeID="ShipToOwnerEBU">JGS AMSTERDAM</ns1:ID>
              </ns1:PartyIDs>
              <ns1:Location type="Warehouse">
                   <ns1:ID>WMXAMS_HP KITTING</ns1:ID>
              </ns1:Location>
              <ns1:Location type="StockLocation">
                   <ns1:ID>SL1</ns1:ID>
              </ns1:Location>
              <ns1:Location type="bin">
                   <ns1:ID>Bin1</ns1:ID>
              </ns1:Location>
              <ns1:Location type="Condition">
                   <ns1:ID>Workable</ns1:ID>
              </ns1:Location>
              </ns1:ShipToParty>
              <ns1:UserArea>
              <cl:myorg.SyncPurchaseOrder.PurchaseOrderLine.UserArea xmlns:cl="http://www.myorg.com/oagis">
                   <cl:Party role="ShipFrom">
                   <cl:ID/>
                   </cl:Party>
                   <cl:ShipByDate>2007-02-22T18:00:00-05:00</cl:ShipByDate>
                   <cl:ItemDetail>
                   <cl:SubInventory>
                        <cl:SubInventoryQuantity>1</cl:SubInventoryQuantity>
                        <cl:SubInventoryStatus>AVL</cl:SubInventoryStatus>
                   </cl:SubInventory>
                   </cl:ItemDetail>
                   <cl:Flex/>
              </cl:myorg.SyncPurchaseOrder.PurchaseOrderLine.UserArea>
              </ns1:UserArea>
              </ns1:PurchaseOrderLine>
         </ns1:PurchaseOrder>
         </ns1:DataArea>
         </SyncPurchaseOrder>
    </payload>
    <taskDefinitionURI>http://localhost:80/orabpel/default/ErrorHandlerBPEL/1.0/SimpleUserActivity/SimpleUserActivity.task
    </taskDefinitionURI>
    <creator/>
    <ownerUser/>
    <ownerGroup/>
    <priority>3
    </priority>
    <identityContext/>
    <userComment/>
    <attachment/>
    -<processInfo>
    <domainId>default
    </domainId>
    <instanceId>590085
    </instanceId>
    <processId>ErrorHandlerBPEL
    </processId>
    <processName>ErrorHandlerBPEL
    </processName>
    <processType>BPEL
    </processType>
    <processVersion>1.0
    </processVersion>
    </processInfo>
    <systemAttributes/>
    <systemMessageAttributes/>
    <titleResourceKey/>
    <callback/>
    <identificationKey/>
    </task>
    </initiateTask>
    </part>
    </initiateTaskInput>
    Thanks,
    -Vidya

Maybe you are looking for

  • Oracle ADF Mobile getting array of objects from webservice

    hi, i am trying to fetch a certain number of records using a webservice call and then storing in the SQLLite DB in the mobile. i understand i can create a data control using the webservice > then? my webservice returns an array of objects. how can i

  • Final Internal Table used in MIGO Transaction

    Hi Experts,           I need to know the final internal table used in the MIGO transaction. Why I want to know this is, I need all the records which are there in the table control (GODYNPRO) of the MIGO transaction. I have used the BADI BADI MB_MIGO_

  • Variable {column} in unique key template

    In unique constraint, the variable column not works when i do engineering to physical model. For example, my template is {table}_{column}_UK, after engineering my unique key stay table__uk, when I expect table_column_uk Version 4.0.3.853

  • Getting photos to show properly in your iWeb Blog Summary?

    Hi, I'm trying to create an iWeb photo blog, but am having some problems. This is what I have so far: www.nigelivy.com Basically my plan is to use the "blog home" as my site's actual home and to upload a daily photo. There are two problems that I hav

  • Best indexing to return a nodelist?

    Hi I can't find an easy answer to this question in the supporting documentation or Danny Brian's book. Could anyone help?: I have around 8000 dictionary entry records, stored in an entry per file, and loaded into a DB XML collection. Queries on equal