Implementing a Webservice with AXIS, which calls CORBA objects

Hi @all!
First my aim is it to invoke a Webservice by a Client. As toolkit for developing this Webservice I use AXIS 1.0. This Webservice in turn should establish a CORBA connection to a third application.
A direct access to the CORBA objects without the AXIS Webservice works fine. The Webservice without the Corba access is also running errorfree.
When trying to implement a Webservice with AXIS, which calls CORBA objects following fault was generated:
"internal Server Error(500)".
Are there known problems with AXIS in conjunction with CORBA?

Okay here's the error log file:
1000 of lines, which aren't very helpful for me.
As ORB I use JacORB.
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultString: (500)Internal Server Error
faultActor: null
faultDetail:
     null: return code: 500
<html><head><title>Apache Tomcat/4.1.18 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet execution threw an exception
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
     at java.lang.Thread.run(Thread.java:484)
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError: org/omg/PortableServer/POAOperations
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:195)
     at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
     at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:154)
     at org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:122)
     at org.apache.axis.providers.java.JavaProvider.getServiceClass(JavaProvider.java:502)
     at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:535)
     at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:322)
     at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:477)
     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:312)
     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:298)
     at org.apache.axis.deployment.wsdd.WSDDDeployment.getServiceByNamespaceURI(WSDDDeployment.java:503)
     at org.apache.axis.configuration.FileProvider.getServiceByNamespaceURI(FileProvider.java:273)
     at org.apache.axis.MessageContext.getPossibleOperationsByQName(MessageContext.java:226)
     at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:150)
     at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
     at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
     at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
     at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
     at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
     at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:394)
     at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
     at java.lang.Thread.run(Thread.java:484)
</pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
(500)Internal Server Error
     at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
     at org.apache.axis.client.Call.invoke(Call.java:2102)
     at org.apache.axis.client.Call.invoke(Call.java:1851)
     at org.apache.axis.client.Call.invoke(Call.java:1777)
     at org.apache.axis.client.Call.invoke(Call.java:1315)
     at CsbClient.main(CsbClient.java:82)
[INFO] enterprise - -Mapping Exception to AxisFault <(500)Internal Server Error>
(WSDDDeployableItem.java:312)
     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:298)
     at org.apache.axis.deployment.wsdd.WSDDDeployment.getServiceByNamespaceURI(WSDDDeployment.java:503)
     at org.apache.axis.configuration.FileProvider.getServiceByNamespaceURI(FileProvider.java:273)
     at org.apache.axis.MessageContext.getPossibleOperationsByQName(MessageContext.java:226)
     at org.apache.axis.message.BodyBuilder.onStartChild(BodyBuilder.java:150)
     at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893)
     at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
     at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
     at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
     at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
     at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
     at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
     at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
     at javax.xml.parsers.SAXParser.parse(SAXParser.java:394)
     at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232)
     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)
     at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)
     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:304)
     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
     at java.lang.Thread.run(Thread.java:484)
</pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.18</h3></body></html>
(500)Internal Server Error
     at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
     at org.apache.axis.client.Call.invoke(Call.java:2102)
     at org.apache.axis.client.Call.invoke(Call.java:1851)
     at org.apache.axis.client.Call.invoke(Call.java:1777)
     at org.apache.axis.client.Call.invoke(Call.java:1315)
     at CsbClient.main(CsbClient.java:82)
Exception in thread "main"

Similar Messages

  • Webservice with axis given a wsdl

    Hi all,
    I am a newbie to webservices, I have been given a wsdl from another company and I have been asked to develop a webservice with it. I would like to know the steps which I would be requiring to take inorder to build a webservice with axis. any help would be appreciated.
    I want to know how should i proceed by looking at the wsdl. The wsdl given is quite huge and big. any starting point would be helpful.

    hey neeeded a help.. you had followed jacobs instructions.. in that it says and i quote !
    1. delete the plugin folder, restart Eclipse, update the lib in the plugin folder
    Copy 2 files: "backport-util-concurrent-3.1.jar" and "geronimo-stax-api_1.0_spec-1.0.1.jar" from <Axis2Home_Location>/lib folder to the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0\lib folder.
    2. Edit the plugins.xml file in the <Eclipse_Location>\plugins\Axis2_Codegen_Wizard_1.3.0 folder as follows:
    <runtime>
    <library name="lib/geronimo-stax-api_1.0_spec-1.0.1.jar">
    <export name="*"/>
    </library>
    <library name="lib/backport-util-concurrent-3.1.jar">
    <export name="*"/>
    </library>
    </runtime>
    then copy the plugin folder to eclipse plugin
    restarted Eclipse and it worked.
    fix worked fine for me with Eclipse WTP (Europa) and jdk1.5.0_07
    Now my question is if i delete the plugin folder, and try to restart Eclipse, Eclipse does not start, it says missiing jars ..
    I am sorry to bother you with so much questions ..
    thanks 1

  • How to create a webservice with axis specific WSDL

    Hi all
    I want to know if anybosy can provide with me any documentation or information link from where i can find the way how to deploy webservices using axis specific WSDL(i mean WSDL is created using axis jars) on to the application server like Weblogic.
    I would like to know the following
    1 - How to create the web.xml
    2- How to create the deployment descriptor.
    3- How to pack the EAR or WAR file.
    Thanks and Regards
    Manoj

    You can't as File is nor serializable. It won't make sense as you would try to give a handle to a file on the server hosting the service to a remote system.
    Can you explain the use case in more detail?
    Timo

  • Pending calls, problem with distinguishing which call that was disconnect

    Hi everybody,
    I have an application that gets triggered by incoming calls. When the calls are rejected a menu will show up. When users have pending calls however the menu should only be triggered when the newly arrived call is disconnected not if the ongoing call was disconnected and the user switched to the new call.
    If two calls are active on the phone, is it possible to distinguish which call an event belongs to?
    I have not been able to find any information about which tags that comes with EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED and EVENT_EVENT_DOWNLOAD_MT_CALL. I guess that there is no TAG_ADDRESS in EVENT_EVENT_DOWNLOAD_MT_CALL right? Maybe it is possible to check that both events occurs in the same channel (?) or something?
    Thanks in advance,
    Henrik

    Hi,
    Thanks a lot!
    I guess that the Transaction Identifier might be solution to my problems. It is the only field present in both MT CALL and CALL DISCONNECTED.
    Do you (or someone else) know more about how this field is used? To me it seems from the info in the document like it have one value per telephone call and this is what I am looking for. For MT call it says that it "shall contain one transaction identifier" coming from the network. For call disconnected it says that it "shall contain a list of the transaction identifiers for each of the calls being disconnected". In the document it also says for this field "Coding according to specific technology". Is it always one byte?
    When running in the Gemalto simulator the transaction identifier is always 00. On a mobile it doesn't work however, the MT CALL transaction identifier is there 00 and the CALL DISCONNECTED transaction identifier is 80. These value does not change when I test with more calls unfortunately.
    Best regards,
    Henrik

  • Consume Webservices with AXIS from within WebAS

    I have problems invoking Web Services from within a bean running in WebAS. I am using Axis to create the calls to the WebServices.
    From a WebService_A running on WebAS 6.4 I want to call WebServices both running on the same server (WebAS 6.4) and on different servers (e.g. Axis).
    If in the endpoint I use the server machine's IP address, I get a server Timeout (502), if I use the machine's name I get the message "Unknown Host". Only when I call a WebService within WebAs and use "localhost" in the endpoint address, do I get the desired result.
    I have already described the problem of calling a web service on a different server in the topic below,and have also tried to configure the servers proxy settings as described (which however showed no effect):
    Proxy Settings for WebService invocation
    As for the generation of proxies (Developer Studio generated deployable proxies) I do not know if they would work for calls on a different server (e.g. Axis), because Developer Studio for some reason would not generate the proxy for the Axis-generated WSDL file (no detailled error message). However I cannot use the generated proxies anyway, because I need to call on endpoints which are provided from a GUI, so I must do the calls by hand - or can I reset a proxy's endpoint?
    Does anybody know which additional settings I have to set (Axis Engine, or in WebAS Administration?)
    Every hint would be greatly appreciated.

    Hi,
    You don't need LCDS/FDS/BlazeDS to consume a web service. All
    you need to do is to use the WebService component.
    Hope this helps.

  • Transmission of XML Documents in a vector via WebService using Axis

    Hello,
    I'm trying to transmit several XML documents (belonging to a DICOM-Study) from WebService Provider to WebService consumer.
    This is my server/provider:
    public static Vector<Document> returnPatientStudies(String PatientID)
    DocumentBuilderFactory factory  = DocumentBuilderFactory.newInstance();
    DocumentBuilder        builder  = factory.newDocumentBuilder();
    File x = new File(PATH + "patient.xml");
    Document document = builder.parse(x);
    DCM2XMLFiles.add(document);This code works fine if it's executed locally in a JAVA class or via http/GET (http://.../axis/services/Gateway?method=returnPatientStudies&PatientID=123456).
    After using Axis' WSDL2Java-Tool I wrote a client:
    public static void main(String[] args) {
    GatewayServiceLocator locator = new GatewayServiceLocator();
    try {
         Gateway gateway = locator.getGateway();
         Vector<Document> documents = Gateway.returnPatientStudies("123456");
    ... Everytime I try to invoke this client-side class, I get an "org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize."
    Obviously the client gets confused by the XML content of the vector I'm trying to transmit (this error also occurs if I transmit XML files constisting only of a single empty element <empty />).
    I think this is a simple problem, since one single XML Document can be transmitted and gets displayed on client side, but I don't have a clue how to solve this vector<Document> problem. Hope someone can help me.
    Thanks

    Hi thanks for your answer.
    I am striving to make this webservice as universal as possible. I have only been returning dumps to my calling page to try and get a view of what's going on inside the component when I call it as a webservice. I wouldn't dream or returnin these back the client.
    The major core of this idea was to create a single component that acts as a facade for a number of other components. Because of this the component needs to accept and return a dynamically variable number of arguments. Because of this I selected xml as this seemed like the ideal solution; I can pass in an out some xml that contains all the arguments. I was hoping to reuse some internal functions to provide external webservices, and use this facade architechture to add a layer of security and logging which doesn't exist with the current functions.
    Do you have any suggestions of how I could best acheive something along these lines? Has someone already created a framework or methodology for creating webservices with Coldfusion which would provide this sort of functionality out of the box?
    Thanks again
    Jim

  • WebService with multiple methods

    Hello to everybody.
    I need an help with the develop of a WebService that it comes with 2 methods: I have already created a lot of WebService in JCAPS6 with only one method and everything was gone well. I tried to implement a WebService with 2 or more method but when I tried to deploy the project I always received this error message: "Deploying application in domain failed; Deployment descriptor file META-INF/application.xml in archive [nameOfArchive]. Duplicate unique value [element] declared for identity constraint of element "application"."
    Theese are the steps that I have done:
    1) create an XSD for Input message
    2) create an XSD for Output message
    3) create a WebServiceDefinition with 2 methods "Method1" and "Method2" and all message (input/output) implemented
    4) create a BusinessProcess (bp1) to implement Method1 operation
    5) create a BusinessProcess (bp2) to implement Method2 operation
    6) create a Connectivity map whith "bp1" and "bp2" directly connected with a new "Web Service External Application"
    7) create a deployment profile
    The "Build" operation was gone well but the "Deploy" operation always returned me an exception.
    What can I do to develop this type of WebService?
    Anyone can help me?
    Thank you in advance.
    Best regards,
    Marco Tranquillin

    My collegue found a solution:
    1) create WSDL with 2 or more operations (with input,output and fault messages);
    2) drag & drop "Event Based Decision" element into Business Process;
    3) link "Start" to "Event based decision";
    4) link "Event based decision.end" to "End";
    5) link a scope (with inside what you want) with "Event based decision";
    6) choose your operation from WSDL and drag & drop it OVER the icon with the mail icon;
    7) link operation.reply with the output scope and with the element "Event Based Decision.end";
    Marco Tranquillin

  • Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format

    Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format. Siebel wants to send the data as xml to BI but not sure of the BI capabilities on giving WSDL embedded with XSD (input is a hierarchical)

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • Call a Webservice with SAML securty in PI 7.0

    Hi experts,
    I need to call a Webservice with SAML security from PI 7.0, Is It possible? or only It is possible with PI 7.1?
    Thanks in advance,
    Jose Manuel

    Hi Jose,
    Let me answer your questuion first :
    No, using PI 7.0 I dont think its posible..
    Below is a brief overview on SAML.
    SAML: It stands for Security Assertion Markup Language, it is an XML standard which is used to exchange security information between a service provider and an identity provider.
    Why we need it ???
    We have a concept called Principal Propagation in PI 7.1, Principal Propagation allows to securely pass the identity of a user from a sender application to a receiver application. There are various adapters and protocols which support the Principal Propagation and one protocol amongst them is the Webservice Reliable Messaging Protocol or WS-RM. Principal Propagation solution for WS-RM protocol is based on SAML and uses the SAML assertions.
    There are some video recordings available for configuration and you can view the same as below,
    Configure a Trust Relationship between Sender and Integration Server: Exchange sender's digital certificate between sender and Integration Server.
    Configure Trusted Issuer: Map user in the Integration Server, and specify issuer. Default issuer is the sender's system ID, default attester is the sender's certificate.
    Configure Sender Agreement and Sender Communication Channel: In Integration Directory, select SAML Sender Vouches Assertion as authentication method.
    Regards,
    Divya

  • Call secure RestFul WebService with basic authorization via https

    Hi,
    is there a way to call a secure RestFul WebService with basic authorization via https from APEX?
    Database: Oracle 11g XE
    APEX: 4.2.1
    I have a solution by calling the WebService from Java which was called from the database via scheduled job (execute).
    As my hosting partner does not support Java I am looking for another option.
    Regards
    Markus

    Hi,
    I think its not possible, in this link you can find in more detail why.
    Its related with the use of wallets to acess https requests.
    http://www.apexninjas.com/blog/2011/06/https-access-with-utl_http-on-oracle-xe-has-anyone-managed-to-do-this/
    Edit: Because you are using Oracle XE
    Edited by: carlos.pereira on Jan 23, 2013 6:15 PM

  • Implement cache coherence with webservice

    Need to implement cache coherence with webservice. The scenario is like
    1) Want tol invoke a webservice with the key like "catalog" which will fetch the value like "catalog is retrieved" for the corresponding key from the cache
    2) The Cache will be inserted with the new value like "new catalog" once the old value is evicted after the value is expired.
    3) Client invokes the web service it should fetch the new value for the key instead of returning null value or old value.
    4) No DB interaction is required i.e
    5) Expirey and refresh ahead is required.
    Please can you please help me in implementing this functionality. If you have any existing code sample could you please provide the same. Its very urgent
    :)

    Please help!!!

  • Simple WebService sample App with AXIS - needed

    Hi -
    I am new to JDeveloper. Can anyone lead/provide me with a sa(i)mple Webservices application with AXIS integration. Additionally any details related to AXIS and JDeveloper based Webservice app creation is highly appreciated.
    Thanks in advance,
    [S]

    Hello Saranova,
    First of all, which version of Oracle JDeveloper are you using?
    We don ot have direct integration of Apache AXIS within Oracle JDeveloper 10g. What I mean is we do not have wizard that allow you to create Axis artifact automatically.
    However, you should be able to integrate Ant to your project by:
    - create an Oracle JDeveloper Library with the Jar files
    - integrate Axis Ant task to your IDE
    and then you should be able to create new WS, and run them in the context of JDeveloper.
    So the sample app will be, you create an Axis app (take one of their sample) and create a web project from existing sources.
    Also I would be please to understand what is your driver to use Axis instead of the Oracle Web Services stack that is integrated to JDeveloper and standard based (JAX-RPC, ...)
    Regards
    Tugdual Grall

  • XML error when Crystal report calling Webservice with Rampart (ws-security)

    Could you please advise me where I am doing wrong -
    I have designed the report using CR 2008 following a SAP document instructions but getting error. -
    1. Created a Class file and put it in the class folder -
    public class PasswordHandler implements CallbackHandler { public void handle(Callback[] callbacks) throws IOException,UnsupportedCallbackException { for (int i = 0; i < callbacks.length; i++) { WSPasswordCallback pwcb = (WSPasswordCallback)callbacks<i>; pwcb.setPassword("clientPassword"); return; } } -
    2. created wse_policy.xml with below content clientName com.rockalltech.action.reports.PasswordHandler -
    3.Also modified CRConfig.xml with below data com.PasswordHandler -
    Still I am getting Rampart error like below -
    [2009-06-02 18:04:26,977,,FATAL,com.crystaldecisions.data.xml] org.apache.axis2.AxisFault: org.apache.rampart.Rampart at org.apache.axis2.deployment.URLBasedAxisConfigurator.getAxisConfiguration(URLBasedAxisConfigurator.java:77) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromURIs(ConfigurationContextFactory.java:190) at com.crystaldecisions.data.xml.a.b.a(Unknown Source) at com.crystaldecisions.data.xml.a.a.a(Unknown Source) at com.crystaldecisions.data.xml.f.a(Unknown Source) at com.crystaldecisions.data.xml.f.int(Unknown Source) at com.crystaldecisions.data.xml.CRDB_XMLImpl.DbExecuteQuery(Unknown Source) at com.crystaldecisions.reports.queryengine.driverImpl.xml.XMLQueryDefinition.Execute(Unknown Source) Thomas Edited by: thomasjv on Jun 2, 2009 7:15 PM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:45 AM Edited by: thomasjv on Jun 3, 2009 10:46 AM

    Hi!
    Thanks for the help:
    - I give all proxy details. In HTTP and HTTPS proxy tabs too.
    one interesting thing:
    - We publicate the same WebService with HTTP and HTTPS prefix.
    - If I create a proxy for the WS with HTTP, everything is correct and works well.
    - If I create a proxy for the WS with HTTPS, gives the error written the previous posts. (And can't create the logical port with SOAMANAGER)
    I compare the 2 WSDL. It is the same, except the links. (HTTP and HTTPS) all others are same.
    - And why it is possible in both case (HTTP, HTTPS) to create the proxy with SE80 from the WSDL URL? (And after the logical port was failed)

  • Problem with "Call Transaction" which calls a view cluster

    Hi Colleagues ,
    I have a rare issue with the call transaction , here is the use case for it :
    1> I call a transaction(calls a screen X) in a report ,
    2> I have a button in the screen , which calls another transaction(calls a screen X2) .
    3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
    problem :
    i'm not able to see the navigation pane in the view cluster on the left. its missing .
    but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
    My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
    please answer the thread , i have to fix this ASAP.
    regards,
    Dilip

    problem solved.

  • Is it possible to call a webservice with just the url to its WSDL

    hi all
    can anyone tell me if it is possible to call a webservice with just the url to its WSDL file. must we create the proxy class for webservice client? thanks

    if you are in the context of a J2EE 1.4 container, you do not need to generate any stub, you can use either a dynamic proxy mechanism or dynamic invocation.
    check JWSDP tutorial.

Maybe you are looking for

  • Need to import from Maya 3D model in an Air-flash cs4 desktop application without loosing quality

    Hello everybody, We developed an air flash cs4 desktop application for the medical industry. Our application is too large because instead of using the 3 D model made via Maya, we use many images to simulate the rotation in order to keep the hight qua

  • Aperture and DNG.  Anyone else seeing this?

    I shoot a lot of RAW images and some of them on a camera that is not currently supported by Aperture (Panasonic DMC FZ8). When I convert those RAW images to DNG, Aperture displays them perfectly in the import preview. When I import them to a project,

  • Is the iTunes store down or something?

    I've been trying for a WEEK to make a few purchases on iTunes, and I keep getting messages that the either there was an error in the iTunes store or that the iTunes store is unavailable. I've checked for updates ... I have the most current version (W

  • Illustrator CS4 - "Can't save illustration." Error

    While working on a website mockup I ran into a rather worrisome error - "Can't save illustration." I can export as .png, .jpg but cannot "Save" or "Save As" regardless of the file type. The particular document/file contains 1 graphic made in Photosho

  • Missing Images for Particle Emitters

    A few weeks ago I moved my Motion Library to my external hardrive to clear up some space. Recently I started a new Motion project and when I opened it obviously all of the Library was was missing because it was now on my external drive. When I moved