Web Service Introspection

The Web Service Introspection Wizards are very helpful
(especially when creating some additional wrappers on top of them).
I have two questions however:
1. How do I set the EndPoint locations for different
deployment environments? It seems the endpoints are copyed from the
wsdl during introspection and hardcoded into the
Base<ServiceName>Service.as class. Creating a
<ServiceName>Service instance allows you to specify a
destination and rootURL as optional parameters to override this,
but this requires use of a services-config.xml file, which is not
generated by default in simple Flex Builder applications, and on
which I cannot find any solid documentation on... I'm currently
having to search & replace the hardcoded endpoints as part of
an ant task before building the client, not a very ideal
solution...
2. Is there a way to automate the Introspection Wizards via
API calls or ant tasks? Ideally I would like to automate my entire
build script in a single ant task, without having to ask the user
to go through the FB wizards...

*bump* Anyone?

Similar Messages

  • Flex 4 Web Service Introspection For Dynamic WSDL Locations

    In Flex 3, introspecting a web service resulted in a constructor that allowed the location of the web service to change at runtime.  It appears that the Web Service introspection tool now only allows the single WSDL URI that was specified in the WS Wizard.  It this the case or am I just missing something?
    Flex 3 introspected services would create a service class with the following constructor signatures:
    private var service:MyWebService;
    service= new MyWebService(null, wsdlLocation);  // With parameters
    or you could use:
    service = new MyWebService(); //with no parameters
    In Flex 4, it appears that you can only use:
    service = new MyWebService();
    So if you don't know the web server location until runtime, am I going to need to manually override the instrospected/generated _super_MyWebService.as class in order to get back the ability to point to different servers at runtime?
    Anyone know why this has changed, or what the "new" way the Flash Builder 4 web service introspection tool uses for dynamic servers?
    Thanks a bunch!

    In Flex 4, it appears that you can only use:
    service = new MyWebService();
    add
    service.wsdl = "your wsdl";
    However if you want this to work you have to remove the hardcoded wsdl from the
    superclass otherwise it will not reset it,
    C

  • Web Service Introspection + Ant

    I'm working on a large project which involves pulling data
    from over 30 different web services. I'm using the Web Service
    Introspection Wizard in Flex Builder 3 to create proxy classes. I
    am then running my own custom ant tasks to automatically generate
    further wrappers based on the generated proxy classes.
    I would like to automate the whole process such that I can
    update all Web Service Proxy classes without going through the Flex
    Builder Wizards, perhaps from a java class or ant task. Is this at
    all possible? Is there an API I can tap into to do this? I don't
    want to sit there going through the wizard over 30 times to update
    each service manually...

    *bump* Anyone?

  • "Binding is null" when calling web service

    Hello,
    I'm trying to call a web service from an automatic activity using:
    str as String
    hw as RecupelWebServices.HelloWorld.DummyWebService = MyWebServices.HelloWorld.DummyWebService()
    helloWorld hw
         returning str = helloWorldResult
    (similar to the documentation example)
    But it fails, warning that:
    a component failed trying to execute activity ...
    The method 'CIL_myMethod' from class 'MyProject.MyProcessName.Default_1_0.Instance' could not be successfully executed.
    Caused by: Binding is null, maybe this web service was introspected with an old version. Try to reintrospect it.
    fuego.lang.ComponentExecutionException: The method 'CIL_myMethod' from class 'MyProject.MyProcessName.Default_1_0.Instance' could not be successfully executed.
    Introspection went ok, although with a warning:
    Introspecting...
    downloading /DummyWebService/HelloWorld.asmx?wsdl
    parsing /DummyWebService/HelloWorld.asmx?wsdl
    checking /DummyWebService/HelloWorld.asmx?wsdl
    [Warning] The binding 'DummyWebServiceSoap12' with type 'tns:DummyWebServiceSoap'is unsupported. Components will not be generaded for this binding..
    'http://tempuri.org/' was parsed.
    Analyzing dependecies for module 'MyWebServices.HelloWorld'...
    Analyzing dependecies for module 'MyWebServices.HelloWorld'...
    Analyzing Components
    Storing Instrospected Types
    Introspection completed. Errors: 0, Warnings: 1.
    The web service is also accessible outside of the BPM environment.
    Any ideas what I'm missing here?

    I'm having the same issue with OBPM Studio 10.3.1 build #98887 when trying to invoke a Web Service introspected from OSB.
    Caused by: Binding is null, maybe this web service was introspected with an old version. Try to reintrospect it.
    When introspecting I got one warning that doesn't seem to have any relation with the runtime error:
    +[Warning] It is not recommended the usage of SOAP encoding array types, specially if you are working with document/literal WSDLs (complex type name: List in namespace: java:java.util ).+

  • Problem while Introspecting a Web-Service in OBPM 10GR3 studio

    I get the following problem while Introspecting a Web-Service in OBPM 10GR3 studio:-
    Introspecting...
    downloading /test-ws/testc?wsdl [Error] Instrospection exception: Web Service WSDL parse exception: HTTPS hostname wrong: should be <test-01.test.net>...
    Any idea why?
    It runs well in a browser, eclipse and SOAP UI?

    have you create the destination?
    do  you use the wizard to generate code?
    usually there is catch clause for this line of code
    wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
    Edited by: John Wu on Dec 16, 2010 11:51 PM

  • How to access/invoke Web Service from BPM Process

    The following steps required to attach and invoke web service method from process:
    1) Add a module in the catalog for ex WebServiceMO
    2) Add WebService Catalog component demoWebService in WebServiceMO
    3) Put ur WSDL address in WSDL address field like "http://localhost:8080/test/test?wsdl"
    4) Click next to introspect the web service it will import required files and setting from the url to your project
    5) Now for invoking webservice just call the method for ex.
    @return as String[]
    getTestStringList(TestInterfaceService, out @return : @return)
    logMessage "web service calll result >>"+length(@return)+">>>"+@return[0]
    Here @ return is the return from webservice call.
    this way u can access web service from BPM process.
    Edited by: Anurag Yadav on Jul 17, 2009 2:19 PM

    I have a web service which does not return any value but when I introspect the web service, I have an out parameter to it.. Not sure why?
    For e.g.
    TestServiceListener.addTestNotes(TestNotes : testNotes, out TestNoteResponse : testNoteResponse);
    So here I see an out parameter, but my web-service has no out parameter...
    Any idea why is this happening?

  • Invoking a web-service through Aqualogic BPM

    I have seen some posts regarding integration of web-services with BPM but could not solve my problem (as I am very new to BPM, just 2 days old :) ).
    I am trying to integrate with the weather web-service whose WSDL is available at http://wsrp.bea.com/portal/boulder/weather.wsdl
    This is what I did
    1. Created a module in the Catalog
    2. Right-clicked on the created module, Catalogue Component -> Web Service and provided the WSDL
    3. Introspection was done and the External Resoures folder was also populated automatically.
    4. I then created a global activity for invoking this web-service.
    But the problem that I am facing is that what method should I write for the global activity that I have created so that the web-service can be invoked.
    Please reply
    Thanks.

    You just need to call the Web service exposed method from the global activity.
    if your module name is WS. The name of the webservice you catalogued is Weather. The service name which you can see when you expand the Weather. Then you will be able to view the exposed method.
    WS.Weather.WeatherService.getWeather
    Regards
    Right Chord

  • Unable to retrieve the operations and entities during service introspection

    Hi,
                      I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice.
                          In flash builder i used the menu Data->connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,
    the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection".
                       I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!
    Thanks & Regards,
    siva
    Message was edited by: siva csc

    same problem also on my xampp installation , it worked perfect with REST service in the previous flex 3 release , is it my apache conf or something related on Flash builder
    this happens when I call my function that connect to mysql do the query and returns the array object
    Err log from Flash Builder 4:
    There was an error during service introspection.
    <br /><b>Warning</b>:  require_once(Zend/Loader/Autoloader.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br /><br /><b>Fatal error</b>:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\xampp\php\pear\;C:/xampp/htdocs/ZendFramework/library') in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br />
    thanks in advance
    P

  • JSP-BPM Process-Web Service interaction

    Hi all
    I am new to Oracle bpm studio. I am having one very important question.
    I want to understand the JSP-BPM-Webservice interaction in Oracle BPM studio BPM Process, as we have an enterprise application having servlets, ejbs, etc, for these servlets & ejbswe are creating web services to expose their functionality, through a BPM process. We have created jsps for showing the result fetched from the external web services imported in our BPM process.
    So in brief, jsp and external webservices are imported in our BPM project, configured as interactive & global activity respectively.
    Please guide us for the JSP-BPM-Webservice interaction.
    How to make the webservice working in response of the jsp, getResult Button? So that on pressing the button on jsp the webservice can return the result and the result can be diplayed on another jsp?
    How to bind the webservice with bpm object, and pass the values through the bpm flow?
    Could you please guide me through this small demo application?
    Please please please reply my question, eagerly waiting for your reply.......................................
    Thanks & Regards
    Ashish Chaudhary
    Edited by: user10952025 on Jan 11, 2010 8:43 PM

    Hi Sujata
    Yes we did the same, as given in some tutorials how to create the "Web service catalogue component", we did it, introspected the webservice.
    Now we need to pass the inputs to the add method of the web service, so that it can return the result back to the jsp. So in order to achieve this we created one interactive activity component & object for jsp in the main BPM process and for the same jsp, one interactive activity component in the screenflow, and to interact with the webservice, we created the global activity in the main BPM process. We edited this global activity and dragged the add method definition there.
    So now we are facing issues with jsp-web service interaction, they are not interacting, so we want somebody to guide us how to enable this with step by step instructions if somebody has done it already. We have already gone thru a lot of tutorials & forum but we want to resolve this asap.
    Thanks & Regards
    Ashish

  • Passing array of UDT in web service method

    I have a backend Java class with method that takes an array of User Defined Type:
    public example.ws2j.service.StatusCodeVO[] getAllStatusCodes(DepartmentCodeVO[]
    deptCode)
    StatusCodeVO[] resp = new StatusCodeVO[2];
    resp[0].setName("Christy");
    resp[0].setStatusCodeID(150L);
    resp[1].setName("Bawiz");
    resp[1].setStatusCodeID(110L);
    return resp;
    And run serviceGen, everything deploys fine. When I invoke this method from the
    generated web service homepage I get the following error. Is the problem happening
    during receipt or return from the call? How do I diagnose? I can attach my java
    class & build.xml if you'd like... THANKS!
    javax.xml.rpc.soap.SOAPFaultException javax.xml.rpc.soap.SOAPFaultException at
    weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459) at
    weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:339) at
    weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:271)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:244)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:306)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:198)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:124)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:224)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

    Hello,
    There are two issues, one is the generated webservice test page and the second is the actual webservice itself. The test page does
    its best to introspect and create sample data, but it could have problems. The actual service in this case could be doing just
    fine. You could try generating a client from the service (using clientgen) and see if it works OK. Also, after you build and
    deploy the service, get the WSDL and post it here, it may give us a better clue to what is happening.
    Thanks,
    Bruce
    Peter wrote:
    I have a backend Java class with method that takes an array of User Defined Type:
    public example.ws2j.service.StatusCodeVO[] getAllStatusCodes(DepartmentCodeVO[]
    deptCode)
    StatusCodeVO[] resp = new StatusCodeVO[2];
    resp[0].setName("Christy");
    resp[0].setStatusCodeID(150L);
    resp[1].setName("Bawiz");
    resp[1].setStatusCodeID(110L);
    return resp;
    And run serviceGen, everything deploys fine. When I invoke this method from the
    generated web service homepage I get the following error. Is the problem happening
    during receipt or return from the call? How do I diagnose? I can attach my java
    class & build.xml if you'd like... THANKS!
    javax.xml.rpc.soap.SOAPFaultException javax.xml.rpc.soap.SOAPFaultException at
    weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459) at
    weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:339) at
    weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:271)
    at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:244)
    at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:306)
    at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:198)
    at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:124)
    at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:224)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

  • 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.

  • Web Service XML not attaching namespace to value object

    I have a web services that I have introspected into Flex. The web service has one operation that sends 4 objects to the server.
    The objects are: a number, an array of objects, a schedule object and a boolean. For some reason when the XML is sent, everything excecpt the object in the array has a namespace. The XML for the object looks something like this:
          <Servers>
            <tns:Tag>123456</tns:Tag>
            <tns:IP>10.35.155.190</tns:IP>
            <tns:useDHCP>true</tns:useDHCP>
            <tns:ipAddress />
            <tns:subNetmask />
            <tns:defaultGateway />
            <tns:hostName xsi:nil="true" />
            <tns:Domain>true</tns:Domain>
            <tns:ProfileId>50000</tns:ProfileId>
          </Servers>
    What could be preventing this array of objects from getting the namespace?

    What is the xmlns= for the file?

  • Web Services Dynamic Invocation

    Hi,
    I am trying to find a way to do web services dynamic invocation where params and return type can be complex types.
    The process I intent to follow is, query a uddi registry based on some search criteria to get a reference to the service wsdl. Use maybe wsdl4j to introspect the wsdl to determine porttype, operations, param data types etc and then perform a dynamic invocation.
    Does anybody have any ideas on how best this can be achieved without having to reinvent the wheel.
    Thanks,
    -V

    Hi
    I am looking for the same thing, please let me know if you resolve it.
    thanks

  • OBPM 10g while calling web service getting error

    Hi all,
    I am facing problem while calling webservice from oracleBPM 10G , this is webservice method name
    zwsticketinginService.zwsCreateTicket( attachement : "X", callbackinf : "phone", callbackmeth : "mailid",
    category : "Problem", chdate : "2011-10-12", chtime : "11:12:22",
    comments : "desktop", crdate : "2011-10-12", crtime : "11:12:22",
    firstname : "krishna", incident : "TEXT", lastname : "moorthi",
    location : "canade", pbonr : "P56714", persnr : "8050456",
    priority : "High", problem : "others", relrequest : "norequ",
    service : "Workplace Problems",user : "krishna",
    out errornr : errno,
    out errortxt : err, out ticketnr : tkt);
    Introspecting also fine , for same web service working fine in SOAPUI , with out any error message , response also got.
    following error I am facing in OBPM 10G :
    trace : [fuego.xmlruntime.XMLValue.convertTo(XMLValue.java:398), fuego.xmlruntime.XMLValue.convertTo(XMLValue.java:245), fuego.soaptype.SoapCall.fixInputArguments(SoapCall.java:584),
    fuego.soaptype.SoapCall.invoke(SoapCall.java:230),
    fuego.soaptype.SoapObject.invoke(SoapObject.java:309),
    fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
    , fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188), Test.Process.Default_1_0.Instance.CIL_automatic(Instance.xcdl:17), Test.Process.Default_1_0.Instance.CIL_automatic(Instance.xcdl), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source),
    java.lang.reflect.Method.invoke(Unknown Source), fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512), fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273), fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219), fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1284), fuego.server.execution.microactivity.ComponentExecutionMicroActivity.runCil(ComponentExecutionMicroActivity.java:126),
    please help to solve this issue .
    thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Problem , solved .
    don use date and time in webservice , OBPM not able to parse Date and Time values with SAP System.
    SOAP UI simulating in a different way to treat date and time.

  • Adding an Array of Objects into an external Web-Service

    Hi all,
    I want to populate an Array of Objects into an external Web-Service which I have introspected into BPM. But I am finding it difficult to do so which should be very easy I guess.
    When i use the EXTEND keyword for adding the array of objects, it gives me the following parameters which are not required:-
    testArray.records.extend(name : "", attributes : null, value : "", children : {  }, tagName : "", namespace : "", isNil : false);
    I only need to populate the name and value pairs and do not need to populate others. But there is no way for me to do this.. How do I populate other parameters or skip them especially
    children which is a Fuego.Xml.XMLObject[].. How do I populate that? How do I populate attributes which is an associative array and not required..
    Is there a proper documentation of consuming external Web-Services into BPM?

    Very interesting, I am going to have to really break this down and see if I can make sense out of it with my 300 lines of code LOL.
    I think this may jsut work at first glance and will let you know!
    It works. We all use it all of the time. The old Add-Member was a big pain in the neck.  InPowerShell V2 New-Object -Property ws added to take a hash of name/value pairs and convert them into an object in one step.  It is faster and more reliable.
    $myprops=@{
        Name='joe'
        Birthdate=[datetime]'02-12-1965'
        Weight=[int]130
        Married=$false
        Flags=[byte]0x3F
    # we can change a value on the fly
    $myprops.Weight+=5  # adjust weight for liars
    New-Object PsObject -Property $myprops
    OR get name=value pairs from a file and make into an object
    $fileprops=Get-Content mydata.txt | ConvertFrom-StringData
    New-Object PsObject -Property $fileProps
    There are more than a dozen other variations of how to levcerage this to create objects out of other things like results from old DOS commands.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • Problem with creating and deleting row in table

    Hi I'm using JDev11.1.1.2.0. I have a table "A" with primary key X -> CHAR(1). I have created Entity and ViewObject (with the primary key X). I created an editable Table with CreateInsert and Delete actions. When I click Insert, a new record is added

  • Help - problems with Credit Memo's

    Hi Can anyone help. We're running Financials 10.7 and have a problem. We've tried to create a credit memo to cancel an invoice. The credit memo and invoice tie up and are linked all through the line until the 'Invoice Installments' screen where there

  • PDF's not printing

    Hello We have just stated using Xero (an accounting programme) & am having trouble printing to PDF on this PC only (can print to pdf if I log on to my account on another PC).  Can do up an invoice fine, & can email it to myself (comes through as a pd

  • Retrieving session data for user (HOW ?)

    I have written an ecommerce site which uses HttpSession objects for storing data (ie users shopping cart). The touble I have is that when the user clicks pay, there request goes to a different server and if valid that server does a callback to my ser

  • MM-pricing comparasion

    hi sapgurus, is it possible in me49(price comparsion) can i see the all those condtion type which are metioned ,in while maintaining in quotations as we know that thorugh standard i can do the price comparsion through net amount and delivery cost onl