OBPM10g - Dynamic selection of web service WSDL or endpoint

I'm consuming a web service in Oracle BPM10g. The user gave me 2 WSDL files: one for DEV and one for UAT environment, they have different file names but the only difference is their respective endpoint. Introspecting the DEV WSDL generated the catalog structure: Services.myWebServiceDev, whereas introspecting the UAT WSDL generated the catalog structure: Services.myWebServiceUat
Right now I am testing in DEV. I have declared instance variables whose type is something like: Services.myWebServiceDev.type1
What will happen when going to UAT? Will I have to declare all my instance variables again but now with the structure generated during UAT WSDL introspection (e.g. Services.myWebServiceUat.type1) and dynamically select what type of variables to use (dev or uat) depending on the server the project is being deployed to?
Or
¿Is there a way to select/change dynamically the endpoint associated to one introspected WSDL so I can only change this endpoint value (in an automatic activity before web service invocation) depending on the deployment server so I don't have to re-declare all my variables again?
Thanks.

Hi Justin,
I followed yous indications and got this serialization exception:
No se puede recibir el mensaje debido a un error de serialización.
Debido a: fuego.soaptype.HttpEndpoint
fuego.rmi.spi.SerializationException: No se puede recibir el mensaje debido a un error de serialización.
     at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:105)
     at fuego.rmi.ServerCluster.send(ServerCluster.java:210)
     at fuego.rmi.ServerCluster.sendResult(ServerCluster.java:461)
     at fuego.rmi.ServerCluster.access$300(ServerCluster.java:43)
     at fuego.rmi.ServerCluster$ClientRequest$1.put(ServerCluster.java:556)
     at fuego.component.ExecutionThread.sendResult(ExecutionThread.java:532)
     at fuego.component.ExecutionThreadContext.doClientInvoke(ExecutionThreadContext.java:695)
     at fuego.component.ClientRemoteComponent.doInvocation(ClientRemoteComponent.java:303)
     at fuego.component.ClientRemoteComponent.invokeRelayTo(ClientRemoteComponent.java:211)
     at fuego.component.ExecutionRelayedThrowable.execute(ExecutionRelayedThrowable.java:109)
     at fuego.server.execution.TaskExecution.handleExecutionRelayedThrowable(TaskExecution.java:816)
     at fuego.server.execution.TaskExecution.handleComponentExecutionException(TaskExecution.java:767)
     at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:516)
     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
     at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:116)
     at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:96)
     at fuego.server.execution.microactivity.GlobalCreationMicroActivity.execute(GlobalCreationMicroActivity.java:109)
     at fuego.server.execution.microactivity.GlobalInteractiveMicroActivity.execute(GlobalInteractiveMicroActivity.java:73)
     at fuego.server.AbstractProcessBean$44.execute(AbstractProcessBean.java:2961)
     at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
     at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
     at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
     at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
     at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
     at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
     at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2954)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
     at fuego.lang.JavaObject.invoke(JavaObject.java:227)
     at fuego.component.Message.process(Message.java:585)
     at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
     at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
     at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
     at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
     at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
Caused by: java.io.NotSerializableException: fuego.soaptype.HttpEndpoint
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.access$100(Unknown Source)
     at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
     at java.io.ObjectOutputStream.writeFields(Unknown Source)
     at fuego.io.ObjectSerialization.customWriteObject(ObjectSerialization.java:153)
     at xobject.Interfases.InterfaseSistemaSeguros.writeObject(InterfaseSistemaSeguros.xcdl)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.access$100(Unknown Source)
     at java.io.ObjectOutputStream$PutFieldImpl.writeFields(Unknown Source)
     at java.io.ObjectOutputStream.writeFields(Unknown Source)
     at fuego.io.ObjectSerialization.customWriteObject(ObjectSerialization.java:153)
     at xobject.Controladores.ControladorVentaCruzadaSeguros.writeObject(ControladorVentaCruzadaSeguros.xcdl)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeObject(Unknown Source)
     at java.util.HashMap.writeObject(Unknown Source)
     at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeArray(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeObject(Unknown Source)
     at fuego.component.Message.writeObject(Message.java:653)
     at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeObject(Unknown Source)
     at fuego.component.Batch.writeObject(Batch.java:151)
     at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
     at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
     at java.io.ObjectOutputStream.writeObject0(Unknown Source)
     at java.io.ObjectOutputStream.writeObject(Unknown Source)
     at fuego.rmi.Packet.write(Packet.java:240)
     at fuego.rmi.spi.BaseConnection.send(BaseConnection.java:102)
     ... 41 more
Do you know what might be happening?
Thank you in advance.

Similar Messages

  • Dynamically invoking a web service.

    How can i dynamically invoke a web service using jax-ws proxy?

    We will need more information on your use case.
    Typically, a JAX-WS proxy refers to the Java Proxy object that implements the interface for your port. If this is what you have then you could dynamically invoke it using reflection.
    However, if you really want to do dynamic invocation then you should look at the Dispatch interface. You can get a Dispatch instance from your Service object and use this to issue raw requests using SOAPMessage or streams. This will require that your application have expertise in generating SOAP requests from the WSDL of the target endpoint, but this is what is typically done in enterprise service bus type products.
    If that's not your use case, let us know.

  • How to get the list of values for a dynamic parameter using Web Services SDK?

    <p>I am struggling to get the list of values for a dynamic parameter of a report.</p><p>I am using Java Web Services SDK ... I tried to use PromptInfo.getLOV().getValues() method but it does not work.</p><p>First of all ... is this possible (to get the list of values for a dynamic param) using Web Services?</p><p>Second of all, if this is possible, how should I do it ... it seems it works fine when running the report from CMC. It asks for DB logon info and after that it provides a list of values.</p><p>Thx </p>

    <p>Your assumption is correct. We are trying to get the LOVs from the Crystal Report. I was not aware that this is not supported by Web Services SDK.</p><p>We used Web Services SDK to integrated the Crystal Reports in our web application. We implemented some basic actions for reports: schedule, view instances, run ad-hoc reports.</p><p>We encountered this problem when trying to run/schedule reports with dynamic parameters (a list of values from DB). We were unable to get the LOVs.</p><p>Please let me know if you can think of an alternative to look at.</p><p>Thanks a lot,</p><p>Catalin </p>

  • Call web service (WSDL)  from apex

    Hi all,
    I have web service (WSDL) as (http://localhost:8080/merlin-service/services/ContraIndicationService?wsdl) from example.
    and I want to call this service from Apex, how can i do that , any idea?
    I tried web service reference found in apex but it is failed.
    So please any idea about this.
    Thanks and regards.
    Mohd.
    Edited by: Ajeeb on Aug 26, 2010 10:23 AM

    Hi,
    I used web service refences to create call this web service and when I tested the web service in the test area in web service refences
    it is working fine and it is giving the foloowing
    In the request:
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body><ns1:searchByCommonNameGroupIdAndCim10Ids xmlns:ns1="http://contraindication.api.vidal.com"><ns1:commonNameGroupId>4835</ns1:commonNameGroupId><ns1:cim10Ids><ns1:int>4399</ns1:int></ns1:cim10Ids></ns1:searchByCommonNameGroupIdAndCim10Ids></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    and it is returning this response
    (<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:searchByCommonNameGroupIdAndCim10IdsResponse xmlns:ns1="urn:Vidal"><ns1:contraIndicationCim10List><contraIndications xmlns="urn:Vidal"><contraIndicationTypeCim10Tuple><cim10><code>J45</code><id>4398</id><name> </name></cim10><contraIndication><id>16241</id><name>History of asthma attack related to taking aspirin</name></contraIndication><type>ABSOLUTE</type></contraIndicationTypeCim10Tuple><contraIndicationTypeCim10Tuple><cim10><code>J45</code><id>4398</id><name> </name></cim10><contraIndication><id>16251</id><name>History of asthma attack related to taking non-steroidal anti-inflammatory drugs</name></contraIndication><type>ABSOLUTE</type></contraIndicationTypeCim10Tuple></contraIndications><homogeneous xmlns="urn:Vidal">true</homogeneous></ns1:contraIndicationCim10List></ns1:searchByCommonNameGroupIdAndCim10IdsResponse></soap:Body></soap:Envelope>
    But when I created form and report for this service it is giving me no data found>
    How can I get the output of this service, if it is XML data also no problem for me.
    Best Regards.
    Mohd.

  • Updating web service WSDL in Flash Builder 4

    I have a web service added to my FB4 project. It is all working nicely but I cannot work out how to refresh the web service wsdl. In flex builder 3 there was a "Manage web services" option that let you do it but there doesn't appear to be one in Flash Builder 4.
    How do I update the generated code?

    In FB 4.5,  if you go to the Data Services view, and then right click on the data service (WSDL) you connected to, there is an option there to refresh the WSDL.  It works very well for me.

  • Connecting to Data via a web service:  WSDL vs HTTP REST

    I created an app and easily was able to get my data from my web service via connecting using the WSDL file.  I then added RESTful to my web service and tested it via SOAPUI and then I created a copy of my original app and deleted the link to my service and then added it but this time using the HTTP connection and I was able to connect, I was able to get my value objects created via the xml parser.  However, for some reason, my date fields are not working.  I went into debug and it says they are invalid.  I checked the xml for both the web service WSDL version and the HTTP RESTful and they look the same.  So why all of the sudden does my dates not work?
    SOAPui from web service
    <endDate>2011-05-30T09:53:00-06:00</endDate>
    RESTful address
    <endDate>2011-05-30T09:53:00-06:00</endDate>
    RESTful Flash
    endDate:Date
    WSDL Flash
    endDate:Date

    DS Version: 14.2.1.224 (14 sp1)
    Job Server 14.2.2.5xx (14 sp2)
    Configuration on the Web Service:
    URL:
    https://maxcvservices.dnb.com/Company/V4.0?wsdl
    https://maxcvservices.dnb.com/FirmographicsProduct/V3.2?wsdl
    WSS User: provided the name
    WSS Pass: provided the pass
    Timeout set to 500
    All other settings are blank.
    Does something need to be defined on the job server?
    The WSDL does not even open on the workstation unless I use an adapter. I had found an article/help/note (something) that the web service in SAP DS does not work with HTTPS and it does with an HTTP Adapter.
    I do not have access to Job Server, will have to schedule some changes if there is config that has to happen there.
    Thanks for your input.
    Cheers,
    Ryan

  • Dynamic forms and Web Services?

    So what we are trying to do is get a dynamic form's information into a database.  On the form itself we have several fields wrapped in a subform that is set to repeat.  It is bound to an element from a web service, which allows the form to grow based on the number of rows returned.  We needed to do this because depending on the selection of departments, there could be a different number of rows returned each time.  This works out fine.  The form grows to display different options, based on the selection.
    What we're having problems with is writing the changes made back to the database.  We have a web service that is bound to the subform that contains the fields, and also bound to the fields themselves, but we're only able to write the information from the last node, i.e if there were six options that were displayed, and you made changes to all six, only the changes to the last one would be written to the database.  Is there something special that needs to be done on the form side?
    Any help is much appreciated.

    Yes ...you set up the web service to recieve one parameter .....then you create a multiline field (make it invisible so the user cannot see it). Then use this command to populate the field with the form data:
    fieldname.rawValue = xfa.datasets.data.saveXML("pretty");
    Now bind this field to the web service input and call it.
    Paul

  • Error when trying to create a types jar from a web service WSDL

    Hi,
    I generated a WSDL from a web service. When I try to generate a types jar from that WSDL in another project, I get an error:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    com.bea.workshop.webservices.servicecontrol.ui.except.TypeGenerationFailedException: Buildfile: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml
    Trying to override old definition of task wsgen
    build:
    build-types:
    clean-types:
    [echo] Deleting types directory c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [echo] Deleting types jar C:\eclipsews\AAATest\WebContent\WEB-INF\lib\CaregiverEBillingMasterServiceServiceTypes_xmlbeans_apache.jar
    [mkdir] Created dir: C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    generate-src-code:
    [echo] Generating types of family xmlbeans_apache from WSDL at file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl, all services. Outputting to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [typesGen] Generating complex Java types for schema types in WSDL file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl. Outputting to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 ...
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfTreatmentDetailItem@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentTypeAutoPayWrapper_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangint_literal@java:org.abc.claims.caregiver.ebilling.services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentSubmissionHierarchy@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfMessageCode@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfFeeCodeType@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfBatchMessage@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    compile-src-code:
    [echo] Compiling source files from c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] Compiling 298 source files to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] ----------
    [javac] 1. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 51)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 54)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 3. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 58)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 4. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 61)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 5. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 64)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 6. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 67)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    === snipped here due to huge file size ===
    [javac] 2680. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 99)
    [javac]      public static org.xfa.schema.xfaData.x10.SignatureDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2681. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 103)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 107)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682 problems (2682 errors)
    BUILD FAILED
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
    Total time: 17 seconds
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:197)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:451)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:383)
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:185)
         ... 1 more
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I was previously able to generate a types jar just fine from the web service's WSDL. Recently, I made some changes to the web service. Apparently, these changes to the web service now cause the WSDL to be unparseable when trying to generate types jars.
    Any ideas?

    The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
    I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post.

  • Web Service WSDL File Generation

    hello everybody, I have an outbound interface with sender soap adapter to work as a web service, I tested it by generating the wsdl file in the integration directory, and I tested it with altova xmlspy and it works really fine, but now I have a problem another aplication needs to call the webservice, but when they try to import the wsdl file it turns out that in their system they can only import rpc files and not document style files, is there a way to generate a RPC file from an xi interface, or is there a third tool to do this conversion, or what needs to be done, has anyone found this problem before??? thanks in advance.
    Regards,
    Julio Cesar

    Hi ,
    As far as I am aware of ...
    3 SOAP encoding styles are there :
    SOAP Remote Procedure Call (RPC) encoding, also known as Section 5 encoding, as defined by the SOAP 1.1 specification and later defined in SOAP 1.2 as RPC encodings and conventions
    SOAP Remote Procedure Call Literal encoding (SOAP RPC-literal,) uses RPC methods to make the call but uses an XML do-it-yourself method for mar-shaling the data.
    SOAP document-style encoding, also known as message-style or document-literal encoding.
    Kindly Check this Link out
    http://msdn.microsoft.com/msdnmag/issues/03/05/XMLFiles/

  • Consume External Web Service (WSDL) in ABAP (Release 700) - Proxy Error

    Hi All,
    Have a requirement to Consume an External Web Service in ABAP. We have the WSDL for Ext. Web Service.
    Did some research and came across the link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/69/8a1e9553dc4baba6026a3db510cadb/content.htm
    First tried to generate a 'Consumer Proxy'. Since external WSDL, used SE80 to generate the Consumer Proxy.
    But finally got Error Msg 'Incorrect value: XSD name space not available'! Could you please let me know:
    1) What is causing this error and how to rectify it?
    2) Is it possible to view the Proxy that I had created (which is in error)? is there a Proxy Editor?

    Hy Brad, I got the same error by trying to generate a 'Consumer Proxy' from a external WSDL. u2019Incorrect value: XSD name space not available'. I have solved it in this way: The report RSSIDL_DESERIALIZE_DEMO has the same check routines as the R3-Proxy Generator. I debugged this report using a saved external WSDL and compared it with using a saved WSDL (Server) generated under /nse80.
    -> In the WSDL, in part message the "type" isnu2019t allowed, because the dezerialization is done already.
    Coding, not working:
    <xsd:complexType name="OrderRequestMsg">
      <xsd:sequence>
         <xsd:element name="shop" type="xsd:string"/>
          u2026
      </xsd:sequence>
    </xsd:complexType>
    <message name=" OrderRequest">
      <part name="input" type=" tns:OrderRequestMsg"/>
    </message>
    Coding, working::
    <xsd:element name="OrderRequestMsg">
        <xsd:complexType>
           <xsd:sequence>
            <xsd:element name="shop" type="xsd:string"/>
       </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
    <message name="OrderRequest">
         <part name="input" element="tns:OrderRequestMsg"/>
    </message>

  • Web Services - WSDL doubt.

    Hi all,
    I’m sorry to repeat this subject again, but I continue with some doubts…
    I read almost SDN web logs about web services. All they teach, how to configure and develop a simple web services… but the steps to create a web service connection between XI, continues a little bit confused to me…
    To clarify my objective, look at this scenario: With an iview with an upload form, I want to upload an xml file to XI trough web service (soap adapter). NW Portal <-> (web services) <-> XI.
    I don’t have sure what I need to do to configure a scenario like that. Tell me if I’m correct: First I need to create an outbound interface to connect Portal via web services to XI, with a soap adapter?
    In the web logs that I’m read, (/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi) I need to download wsdl files… but who make these wsdl files? I need to make it before configure my soap adapter?
    I don’t understand what is the propose of wsdl files and what is used for!!! I never worked with web services… I’m come from ABAP programming and I’m trying to do the first steps in web technologies. So, I’m sorry if said some mistakes…
    Please, can anybody clarify my doubts? Documentation to help is appreciated.
    Thanks in advance,
    Ricardo.

    Hi Ricardo,
    >>>I don’t have sure what I need to do to configure a scenario like that. Tell me if I’m correct: First I need to create an outbound interface to connect Portal via web services to XI, with a soap adapter?
    yes that's what you have to do:
    1. create an outbound interface
    2. publish a web service based on this interface (sender SOAP adapter)
    >>>In the web logs that I’m read, (/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi) I need to download wsdl files… but who make these wsdl files? I need to make it before configure my soap adapter?
    you need to download wsld file if you want to call
    a web service <b>from</b> XI, since you only want to do Portal -> xi and not XI -> web service then you <b>don't</b> need any
    wsld files
    >>>but who make these wsdl files?
    you will, once you'll define your web service
    on the XI - your Portal iview will use this file
    Regards,
    michal

  • Process as a Web Service WSDL client

    Hi,
    I am using the Process as a Web Service Option inside of BPM . I launch the deployed webservices webapps and I get the WSDL out of it.. The WSDL works fine with SOAP UI..But when I try to create a web service client out of that WSDL it gives me the following error:-
    com.bea.albpm.TestProject.SampleProject.OperationException cannot be resolved as type and the web service client does not work..
    how do I resolve this error.. Is there a jar file that I need to import?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

  • Web-Service WSDL contains no messages in External Definations

    Hi All,
    I am working on IDOC->XI->Web-method scenatio.
    Web-method team has given me attached WSDL. this WSDL is not showing any message in Message Tab while uploading WSDL in External Definations Tab in IR.
    Is it possible to send data to this type of Web-method with receiver SOAP Adapter?
    Because in /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 weblog we can see messages in message tab while uploading message.
    Please help.
    Regards
    **********WSDL***********************
    <?xml version="1.0" encoding="UTF-8"?>
         <wsdl:definitions name="GE_OC_SalesOrder_Source_Services" targetNamespace="http://3.209.120.84/"
                   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                   xmlns:tns="http://3.209.120.84/">
         <wsdl:types>
            <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical" xmlns:tns="http://localhost/GE_OC_SalesOrder_Source/Services/publishSalesOrderCanonical">
              <xsd:complexType name="__publishSalesOrderCanonicalInput">
                <xsd:sequence>
                  <xsd:element name="_x0078_mlString" nillable="true" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
              <xsd:complexType name="__publishSalesOrderCanonicalOutput">
                <xsd:sequence>
                  <xsd:element name="status" nillable="true" type="xsd:string"/>
                  <xsd:element name="status_message" nillable="true" type="xsd:string"/>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:schema>
         </wsdl:types>
         <wsdl:message name="publishSalesOrderCanonicalInput">
              <wsdl:part name="_x0078_mlString" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="publishSalesOrderCanonicalOutput">
              <wsdl:part name="status" type="xsd:string"/>
              <wsdl:part name="status_message" type="xsd:string"/>
         </wsdl:message>
         <wsdl:portType name="GE_OC_SalesOrder_Source_ServicesPortType">
              <wsdl:operation name="publishSalesOrderCanonical">
                   <wsdl:input message="tns:publishSalesOrderCanonicalInput"/>
                   <wsdl:output message="tns:publishSalesOrderCanonicalOutput"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="GE_OC_SalesOrder_Source_ServicesBinding" type="tns:GE_OC_SalesOrder_Source_ServicesPortType">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="publishSalesOrderCanonical">
                   <soap:operation soapAction=""/>
                   <wsdl:input>
                        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
                   </wsdl:input>
                   <wsdl:output>
                        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://3.209.120.84/GE_OC_SalesOrder_Source.Services" use="encoded"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="GE_OC_SalesOrder_Source_ServicesService">
              <wsdl:port name="GE_OC_SalesOrder_Source_ServicesPort0" binding="tns:GE_OC_SalesOrder_Source_ServicesBinding">
                   <soap:address location="http://3.209.120.84:5555/soap/rpc"/>
              </wsdl:port>
         </wsdl:service>
         </wsdl:definitions>

    Hi Stefan,
    Thanks for reply. You are true WSDL is RPC style.
    But if you Observe My WebService WSDL following lines
    <wsdl:message name="publishSalesOrderCanonicalInput">
    <wsdl:part name="_x0078_mlString" type="xsd:string"/>
    </wsdl:message>
    <b>There is only one part(field) but we wants to send 50 field XML.</b>
    If you see Note:856597 & attached WSDL in Note getQuote_rpc.wsdl following lines
    <message name="GetTradePriceInput">
    <part name="tickerSymbol" type="xsd:string"/>
    <part name="time" type="xsd:dateTime"/>
    </message>
    <b>There are two part(fields) for two XML fields as in Note.</b>
    Is it possible to Pass XML message in this type of web-service?
    If possible then How can I send?
    Please help....
    Best Regards

  • F-44  ZBAPI MULTIPLE LINE SELECTIONS FOR WEB SERVICES

    HI TO ALL,
              I HAVE WRITTEN ZBAPI FOR POSTING MULTIPLE LINE SELECTIONS FOR TCODE F-44, THE ZBAPI  CONSIST OF BDC PROGRAM, WHICH IS WORKING IN SAP SYSTEM PERFECTLY BUT WHEN I AM USING IT IN WEB SERVICES IT IS THROWING A  ERROR MESSAGE.
                     PLEASE CAN ANY ONE TELL ME DOES THIS PROCESS WILL WORK OR NOT, IF YES HOW IS IT POSSIBLE

    Hi Gabriel,
    Let me try to answer some of your questions:
    1) The "Requires Secure Access" attribute of a resource handler controls whether this handler must be accessed/consumed only over SSL (HTTPS). Oracle Database Cloud Schema Service is only offered over SSL, so this attribute does not have any effect on RESTful services deployed in this environment (because secure access is always required and there is no other way). That said, if you want to access such web service from your own APEX instance, your instance must have Oracle Wallet configured with appropriate SSL certificate.
    2) The URI parameters are not required. If your web service returns data for many entities (for example, list of employees in employees/), you may not need a parameter. If your web service returns data for one specific entity (for example, details of one employee in employees/{id}), you may want to identify that entity with a URI parameter.
    3) You can have many URI parameters, for example: customers/{id}/orders/{order_id}.
    4) Yes, these are the same HTTP methods/verbs you would use from PHP.
    5) If you are trying this POST example from your own APEX instance (not Oracle Database Cloud Schema Service) and you are trying to access a web service over SSL, then it is likely that the Oracle Wallet used by your instance does not include the required SSL certificate(s), or the Oracle Wallet is not configured at all.
    6) I recommend to check RESTful Web Services for the Oracle Database Cloud white paper and Oracle REST Data Services Developers Guide. Oracle REST Data Services is the technology that enables RESTful services in the Oracle Database Cloud Schema Service.
    You can certainly create your own web services in the Oracle Database Cloud Schema Service and consume them from the same environment.
    Vlad

  • Web service wsdl problem

    I have a very simple web service cfc file that uses another cfc component in the returntype. Both cfc files are on the same directory in the server. It fails to register (wsdl) on the CF server. If I change the returntype of the web service call to "any" it would work. Anyone has any idea? Below is the code:
    authentication_wsapi.cfc
        <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="User"
                  output="no">
                <cfobject component="User" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    User.cfc
        <cfcomponent>
          <cfproperty name="loginName" type="string">
        </cfcomponent>
    url to test:
    http://wsapi.my.com/authentication_wsapi.cfc?wsdl
    Error I got:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Exception - java.lang.NoClassDefFoundError: user
    java.lang.NoClassDefFoundError: user
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
        at java.lang.Class.getDeclaredMethod(Class.java:1935)
        at org.apache.axis.description.JavaServiceDesc.loadServiceDescByIntrospection(JavaServiceDes c.java:863)
    If I modify authentication_wsapi.cfc as below (only difference is the returntype) it will work:
            <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="any"                        <----- changed from "User" to "any"
                  output="no">
                <cfobject component="User" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    It seems authentication_wsapi.cfc can not see the User.cfc on the same dir. BUT the "cfobject" call to create the User component is not complaining though. Any help will be apprecriated!

    bkbk,
    I tried as you suggested and found some interesting things, but problem still exists...
    I created the test.cfm page as you suggested:
    test.cfm
    <cftry>
    <cfobject component="User" name="testUser">
    <cfobject component="authentication_wsapi" name="wsapi">
    <cfcatch type="any">
       <cfdump var="#cfcatch#">
       <cfabort>
    </cfcatch>
    </cftry>
    Done creating.
    and hit it at url:
    http://wsapi.my.com/test.cfm
    There was no error, it shows "Done creating.".
    Just to make sure, I modified my authentication_wsapi.cfc to be:
    authentication_wsapi.cfc
        <cfcomponent>
          <cffunction name="getManagers"
                  access="remote"
                  returntype="User_non_exist"
                  output="no">
                <cfobject component="User_non_exist" name="ret">
                <cfreturn ret>
          </cffunction>
        </cfcomponent>
    and hit it with the test.cfm url, still no error. Strange!
    So I modified test.cfm like this:
    test.cfm
    <cftry>
    <cfobject component="User" name="testUser">
    <cfobject component="authentication_wsapi" name="wsapi">
    <cfset a = wsapi.getManagers()>
    <cfcatch type="any">
       <cfdump var="#cfcatch#">
       <cfabort>
    </cfcatch>
    </cftry>
    Done creating.
    Now I see an error complaining the User_non_exist component not exist.
    So I changed the authentication_wsapi.cfc back to it's correct form, and with the new test.cfm, and hit the url, there was no error.
    Now I hit the wsdl url, it still gave me the original error.
    I think the wsdl compiler or some sort in CF server can not see the component inside the authentication_wsapi.cfc.
    I am using Coldfusion 9, 64 bit, enterprise version, on a Windows server 2008, with IIS 6.0.
    In the IIS web site I defined the "physical path" (is this the web root?) to
       C:\Savvi\Websites\CCD\WSAPI
    and both .cfc exist in
       C:\Savvi\Websites\CCD\WSAPI
    There are several other web sites co-exist in the same server, with different "physical path". I do not have a "/" mapping defined in the CF server.

Maybe you are looking for

  • In Admin Console We are unable to start Managed Server.

    Hi, We are using Weblogic 10.3.1.0 version. Totaly 4 Managed Severs 1 Admin Server with Nodemanger. In Admin Console When ever we going to Stop the Manged Servers. 1. Environment ----- > Servers ---- > Control ----------- > Mananged Server 1 --------

  • Upgraded to iTunes 11 on Snow Leopard, now won't recognize iPod Touch 2G?

    iTunes 11 doesn't seem to want to recognize my iPod Touch 2nd Generation.  Tested out my iPod Nano 4G, and it connects fine.  I've tried rebooting the Touch and restarting my computer, but to no avail. Any suggestions?

  • Frozen rollovers

    I have pages made with two FW templates. The rollovers for one set is working fine, but those for the other do not. The templates are nearly identical, so I'm baffled. When I preview from FW into the browser, everything looks fine, but it doesn't wor

  • Capital One Luv

    Thought that Capital One had forsaken me.  Have Venture One for almost 3 months now.  Started hitting luv button after 2nd statement.  Result-$250.  Thought, "Are you kidding me?  Really?".  Refused increase.  Kept doing this every couple day; same r

  • Loaded data amount into cube and data monitor amount

    Hi, when I load data into the cube the inserted data amount in the administrator section shows 650000 data sets. The monitor of that request shows a lot of data packages. When I sum the data packages, the sum is about 700000 data sets. Where is the d