Problem deploying webservice client app

I have a JAX-RPC webservice client application which works flawlessly from within JDeveloper 10.1.3 EA1. However, after deploying the application and running it, I get the following error which I have been unable to trace to a missing library:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/xml /rpc/ServiceFactory
at com.brunata.ptd.proxy.TempmonSoapHttpPortClient.<init>(TempmonSoapHtt pPortClient.java:17)
at com.brunata.ptd.proxy.PTDProxy.<init>(PTDProxy.java:24)
at com.brunata.ptd.proxy.PTDProxy.sharedInstance(PTDProxy.java:35)
at com.brunata.ptd.views.PTDAppView.<init>(PTDAppView.java:71)
at com.brunata.ptd.PTDApp.createGUI(PTDApp.java:93)
I made sure to include all libraries I can see JDeveloper is referencing, yet obviously I must be missing something. I include the following:
\j2ee\home\lib
\webservices\lib
\jlib
\lib\xmlparserv2.jar
\xdk\lib\xml.jar
\j2ee\home
\rdbms\jlib\xdb.jar
\diagnostics\lib\ojdl2.jar
\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar
\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar
I must admit, I am a bit shocked that/if I will have to deploy all these files into a some 40MB jar, not exactly fitting for the Java Web Start appliation I am working on.
Any help greaty appreciated,
Casper Bang

Hi Eric,
Thanks for the single-jar solution tip. Unfortunately I still get the same error (javax.xml.rpc.ServiceFactory) even with the use of that file. If I try to run manually from a commandline and include jaxrpc-api.jar, I get a little further though:
java -classpath J:\jdevstudiobase1013\jdev\mywork\PTD\PTD\classes;J:\jdevj2eebase1013\webservices\lib\jaxrpc-ap
i.jar;J:\jdevstudiobase1013\jdev\mywork\PTD\PTD\deploy\jcommon-1.0.0-rc1.jar com
.brunata.ptd.PTDApp
javax.xml.rpc.ServiceException: Provider oracle.j2ee.ws.client.ServiceFactoryImp
l not found
at javax.xml.rpc.FactoryFinder.newInstance(FactoryFinder.java:44)
at javax.xml.rpc.FactoryFinder.find(FactoryFinder.java:137)
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:69)
at com.brunata.ptd.proxy.TempmonSoapHttpPortClient.<init>(TempmonSoapHtt
pPortClient.java:17)
at com.brunata.ptd.proxy.PTDProxy.<init>(PTDProxy.java:24)
Which lib is this? (Any documentation somewhere for where packages are stored?)
Thanks a lot,
Casper

Similar Messages

  • Problem deploying webservice application to cluster

    My web service is packaged inside an ear file generated by WLS workshop. The ear deploys and runs fine on standalone WLS 9.2.2 when deployed through console. When same ear file is deployed to cluster, the webservice does node show up on the managed nodes. Under test endpoints, WLS console shows links only to wsdl locations. WSDL is available on clicking the link. The console does not show links to webservice test client as it does on standalone installation. If I type in the expected test client location I get an HTTP 404 error. I do not see any obvious error messages during application deployment or runtime in the log file of admin server or managed nodes.
    Any help on troubleshooting this issue is appreciated. Thanks.

    The cluster address has a typo in it. The interesting part is weblogic does not report any errors / warning if the IP address in cluster address are invalid (not incorrect). So, if you give an IP address as 111.111.1111 you will get nothing in logs and app will not work but status of servers and app will be shown as active as if everything is fine.

  • Problem: Deploy a web app from a managed server - Can someone answer:  Is this a bug?!

    We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
    a web app to the managed server fails, works fine on the Admin server.
    War's work fine in the 'applications' dir. The browser fails with a
    404 on the managed server, with the following error in the log:
    ####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
    <ExecuteThread: '11'
    for queue: 'default'> <system> <> <160001> <Error deploying application
    DefaultWebApp
    ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
    ect2 because
    WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
    for path >
    Are we missing the point here? Or, is this a known bug? Also, we are
    not in a position to jump onto v6.1 at this time.
    Thanks in advance.

    Hi,
    Yes..it's a bug. I had the same problem and it has been reported to support
    but no indication if it's fixed.
    Rgds,
    E-Wan
    ppower wrote:
    We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
    a web app to the managed server fails, works fine on the Admin server.
    War's work fine in the 'applications' dir. The browser fails with a
    404 on the managed server, with the following error in the log:
    ####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
    <ExecuteThread: '11'
    for queue: 'default'> <system> <> <160001> <Error deploying application
    DefaultWebApp
    ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
    ect2 because
    WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
    for path >
    Are we missing the point here? Or, is this a known bug? Also, we are
    not in a position to jump onto v6.1 at this time.
    Thanks in advance.

  • Deploying webservice client to database

    I am new to web services but have used JDeveloper's wizard to create a stub/proxy to connect to a web service. And it works when I run it inside JDeveloper. But the idea was to run this as a stored procedure inside the database.
    1. Is that even possible? The necessary libraries are not loaded in the database by default. I know Oracle have removed the J2EE stack from the database.
    2. I have tried to figure out which classes/libraries/jars are needed and load them into the database manually. But the more classes I include the more it asks for. It seems to never end. Will I have to load the whole J2EE library back in!
    3. Why can't JDeveloper figure out by itself which classes are needed and (offer to) add them to the deployment profile? The libraries are added to the project and I've even checked the export option.
    4. I've tried both version 9.0.5.2 (10.1.2?) and the 10.1.3 preview. What's more confusing. Those two versions generate different web service code. 10.1.2 uses org.apache.soap.* plus some Oracle specific classes and generates only one source file. 10.1.3 uses javax.xml.rpc.* plus some Oracle specific classes and generates many more files. My main point being that different API's are used. Which one should I choose?
    This will be deployed to possibly different version of the Oracle database although they will all be at least 9i, probably 9.2. Right now I'm testing in on
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production

    I have tried but get the same types of errors I got when trying to add the libraries one by one. There are still missing classes. For example it refers to the java.util.logging package that is not part of 1.3!
    I've tried with utl_dbws_jserver.jar and utl_dbws.jar and both althought the former seems to contain a subset of the latter. I've tried different databases.
    Here are some of the errors. I'm not sure if the error messages are exact since I had to translate them from Norwegian:
    Error occured when trying to upload java file!
    errors : class com/sun/msv/datatype/xsd/NameType
    ORA-29534: referenced objectDIPS.com/sun/msv/datatype/xsd/TokenType cannot be resolved
    errors : class oracle/j2ee/ws/common/mapping/xml/xsdAnyURIType
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/common/mapping/xml/ComplexType cannot be resolved
    errors : class oracle/j2ee/ws/saaj/soap/FaultElementImpl
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/saaj/soap/ElementImpl cannot be resolved
    errors : class oracle/jpub/runtime/dbws/DbwsProxy$1
    ORA-29534: referenced objectDIPS.oracle/jpub/runtime/dbws/DbwsProxy cannot be resolved
    errors : class oracle/j2ee/ws/common/mapping/xml/Factory
    ORA-29534: referenced objectDIPS.oracle/xml/parser/v2/DOMParser cannot be resolved
    errors : class oracle/j2ee/ws/common/streaming/XMLReaderBase
    ORA-29552: check warning: at offset 1 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent:1 by a throw
    at offset 43 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent:43 by a throw
    at offset 17 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextElementContent invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLReaderBase.nextElementContent:17 by a throw
    at offset 2 of oracle.j2ee.ws.common.streaming.XMLReaderBase.skipElement invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLReaderBase.skipElement:2 by a throw
    ORA-29545: malformed class: at offset 4 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a anyInt but encountered a (INT|NULL|CLASS).
    at offset 5 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a anyInt but encountered a (INT|NULL|CLASS).
    at offset 6 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a anyInt but encountered a (INT|NULL|CLASS).
    at offset 40 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a anyInt but encountered a (INT|NULL|CLASS).
    at offset 46 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a class-java.lang.String but encountered a union[class-java.lang.String,class-oracle.j2ee.ws.common.streaming.XMLReaderBase,).
    at offset 4 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent stack has inconsistent values
    at offset 6 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent stack has inconsistent values
    at offset 41 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent stack has inconsistent values
    at offset 41 of oracle.j2ee.ws.common.streaming.XMLReaderBase.nextContent expecting a anyInt but encountered a (INT|NULL|CLASS).
    errors : class oracle/j2ee/ws/common/streaming/XMLWriterBase
    ORA-29552: check warning: at offset 4 of oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement:4 by a throw
    at offset 9 of oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement:9 by a throw
    at offset 10 of oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.startElement:10 by a throw
    at offset 5 of oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttribute invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttribute:5 by a throw
    at offset 10 of oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttribute invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttribute:10 by a throw
    at offset 10 of oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttributeUnquoted invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttributeUnquoted:10 by a throw
    at offset 5 of oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttributeUnquoted invokevirtual refers to an interface
    verifier is replacing bytecode at oracle.j2ee.ws.common.streaming.XMLWriterBase.writeAttributeUnquoted:5 by a throw
    errors : class oracle/j2ee/ws/saaj/soap/soap12/DetailEntry12
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/saaj/soap/soap12/SOAPImplementation12 cannot be resolved
    errors : class oracle/j2ee/ws/common/mapping/xml/messageDestinationUsageType
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/common/mapping/xml/string cannot be resolved
    errors : class com/sun/msv/datatype/xsd/IDType
    ORA-29534: referenced objectDIPS.com/sun/msv/datatype/xsd/NcnameType cannot be resolved
    errors : class oracle/j2ee/ws/saaj/soap/soap12/FaultElement12
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/saaj/soap/soap12/SOAPImplementation12 cannot be resolved
    errors : class oracle/j2ee/ws/common/mapping/xml/deweyVersionType
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/common/mapping/xml/SimpleType cannot be resolved
    errors : class oracle/j2ee/ws/common/mapping/xml/serviceInterfaceMappingType
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/common/mapping/xml/BaseType cannot be resolved
    errors : class com/sun/msv/datatype/xsd/FloatingNumberType
    ORA-29534: referenced objectDIPS.com/sun/msv/datatype/xsd/BuiltinAtomicType cannot be resolved
    errors : class HTTPClient/HttpClientConfiguration$7
    ORA-29521: cannot resolve java/util/logging/LogManager
    errors : class oracle/j2ee/ws/common/mapping/xml/pathType
    ORA-29534: referenced objectDIPS.oracle/j2ee/ws/common/mapping/xml/string cannot be resolved
    errors : class HTTPClient/HttpClientConfiguration$6
    ORA-29534: referenced objectDIPS.HTTPClient/HttpClientConfiguration cannot be resolved

  • Problem - Deployment of webservice to ias10.1.2

    I'm trying to complete a deployment of webservice from Jdev 10.1.3.1 to ias 10.1.2
    The 'test' connection to the application server works good
    Deployment errors with:
    Exit status of DCM servlet client: -8
    Has anyone comments as to what could be the problem here and what to do to fix it ?
    Tried looking in the Application server control - the webservice is not listed as deployed
    Exit status of DCM servlet client: -8
    Should I deploy to ear file and deploy via Application server control instead - Although it would be nice to deploy using Jdev as this is more efficient during development.
    Any ideas?
    Many thanks
    Pete
    ---- Deployment started. ---- Jan 22, 2007 9:22:40 PM
    Target platform is Oracle Application Server 10g 10.1.2 (Unix) (ti_training).
    Wrote WAR file to C:\jdevj2ee10131\jdev\mywork\pl_ws\GetPatientInfo\deploy\WebServices.war
    Wrote EAR file to C:\jdevj2ee10131\jdev\mywork\pl_ws\GetPatientInfo\deploy\pl_ws-GetPatientInfo-WS.ear
    Invoking DCM servlet client...
    C:\jdevj2ee10131\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdevj2ee10131\jdev\lib\oc4j_remote_deploy.jar http://ristraining.ins.medicinespoon.com:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy /opt/oracle/product/ias904biforms C:\jdevj2ee10131\jdev\mywork\pl_ws\GetPatientInfo\deploy\pl_ws-GetPatientInfo-WS.ear pl_ws-GetPatientInfo-WS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /opt/oracle/product/ias904biforms C:\jdevj2ee10131\jdev\mywork\pl_ws\GetPatientInfo\deploy\pl_ws-GetPatientInfo-WS.ear pl_ws-GetPatientInfo-WS UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 0ac80109712e7e2a8608e8f4b7f9173ee63eecc1c59
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=0ac80109712e7e2a8608e8f4b7f9173ee63eecc1c59
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 20 seconds
    #### Deployment incomplete. #### Jan 22, 2007 9:23:00 PM

    Okay - worked out that you explicitly need to set jre 1.3 for ias 10.1.2 !
    we have a constraint to use 10.1.2 so cannot upgrade.....
    From IAS - http-web-site.xml port is 8888
    trying to access the ws:
    http://ristraining.ins.medicinespoon.com:8888/pl_ws13-GetPtInfo-context-root/GetPtWS
    request times out!
    Which log files do I need to check to work out what the problem might be ?
    Still can't see the webservice in application server control - is it possible ?
    Thanks
    Pete
    Deployment log:
    ---- Deployment started. ---- Jan 22, 2007 10:23:26 PM
    Target platform is Oracle Application Server 10g 10.1.2 (Unix) (ti_training).
    Wrote WAR file to C:\jdevj2ee10131\jdev\mywork\pl_ws13\GetPtInfo\WebServices.war
    Wrote EAR file to C:\jdevj2ee10131\jdev\mywork\pl_ws13\GetPtInfo\pl_ws13-GetPtInfo-WS.ear
    Invoking DCM servlet client...
    C:\jdevj2ee10131\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdevj2ee10131\jdev\lib\oc4j_remote_deploy.jar http://ristraining.ins.medicinespoon.com:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy /opt/oracle/product/ias904biforms C:\jdevj2ee10131\jdev\mywork\pl_ws13\GetPtInfo\pl_ws13-GetPtInfo-WS.ear pl_ws13-GetPtInfo-WS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy /opt/oracle/product/ias904biforms C:\jdevj2ee10131\jdev\mywork\pl_ws13\GetPtInfo\pl_ws13-GetPtInfo-WS.ear pl_ws13-GetPtInfo-WS UNDEFINED
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 0ac801097129eb78c77cd6d4e21bb14983b2193598e
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=0ac801097129eb78c77cd6d4e21bb14983b2193598e
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 18 seconds

  • Problem invoking from a BPEL process webservice client

    I have a BPEL Synchronous process that invokes a webservice deployed on Tomcat. The process executes without any exception when I run it from the BPEL Console. Since I want to execute the BPEL process as a command line operation, I created a BPEL Process Webservice client from scratch using Axis as described in Tutorial7 - InvokingBPELProcesses.pdf. However when I try to execute the client, I get the following error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}Server.generalException
    faultSubcode:
    faultString: Dispatcher send error.
    An error occurred while sending a batch message to the dispatch queue. The exception is: Failed to create &quot;java:comp/env/ejb/local/DispatcherLocalBean&quot; bean; exception reported is: &quot;javax.naming.NameNotFoundException: ejb/local/DispatcherLocalBean not found in startup_war&#xd;
         at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:93)&#xd;
         at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:76)&#xd;
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:177)&#xd;
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:119)&#xd;
         at javax.naming.InitialContext.lookup(InitialContext.java:347)&#xd;
         at com.collaxa.cube.engine.util.CubeEngineBeanRegistry.lookupDispatcherLocalBean(CubeEngineBeanRegistry.java:165)&#xd;
         at com.collaxa.cube.engine.util.CubeEngineBeanCache.getDispatcherLocalBean(CubeEngineBeanCache.java:91)&#xd;
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendLocal(DispatchHelper.java:229)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.receive(Dispatcher.java:430)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.receive(Dispatcher.java:357)&#xd;
         at com.collaxa.cube.engine.dispatch.Dispatcher.update(Dispatcher.java:253)&#xd;
         at com.collaxa.cube.engine.core.event.DomainObserverRegistry.notify(DomainObserverRegistry.java:124)&#xd;
         at com.collaxa.cube.engine.core.event.DomainObserverRegistry.notify(DomainObserverRegistry.java:66)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.notify(CubeProcessHolder.java:727)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.addProcess(CubeProcessHolder.java:697)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:632)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:605)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:592)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:494)&#xd;
         at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:429)&#xd;
         at com.collaxa.cube.engine.CubeEngine.lookupProcess(CubeEngine.java:840)&#xd;
         at com.collaxa.cube.ws.wsdl.WSDLManager.getProcess(WSDLManager.java:437)&#xd;
         at com.collaxa.cube.ws.wsdl.WSDLManager.getPartnerWSDL(WSDLManager.java:300)&#xd;
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.processBPELMessage(CXSOAPProvider.java:175)&#xd;
         at com.collaxa.cube.ws.soap.providers.CXSOAPProvider.invoke(CXSOAPProvider.java:111)&#xd;
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)&#xd;
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)&#xd;
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)&#xd;
         at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)&#xd;
         at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)&#xd;
         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)&#xd;
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)&#xd;
         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)&#xd;
         at com.collaxa.cube.fe.CollaxaServlet.service(CollaxaServlet.java:117)&#xd;
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)&#xd;
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)&#xd;
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)&#xd;
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)&#xd;
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)&#xd;
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)&#xd;
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)&#xd;
         at java.lang.Thread.run(Thread.java:534)&#xd;
    &quot;.
    Can someone please tell me what is it I am doing wrong?

    I was using
    Oracle BPEL Server version 2.0
    Build: 2004.06.17.14.40
    Build time: Thu Jun 17 14:40:58 PDT 2004
    However, I downloaded the latest version of the Process Manager and did not face the same problem.

  • Problem running ClientGen  generated webservice client

    I'm using Workshop for Weblogic 10.3 and I'm trying to generate a webservice client. When I generate it with ClientGen and I try to use it I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/j2ee/descriptor/ServiceRefHandlerBean
    at weblogic.wsee.jaxrpc.HandlerRegistryImpl.<init>(HandlerRegistryImpl.java:32)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:88)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at testClient.main(testClient.java:18)
    If I add the com.bea.core.descriptor.j2ee_1.1.0.0.jar to the libraries then I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/sun/xml/ws/util/JAXWSUtils
    at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:44)
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:403)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:389)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:476)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at testClient.main(testClient.java:18)
    How can I fix it?

    I didn't see a mistake, but my sample works fine. Are you trying to execute the client from Workshop / Eclipse? If that is the case, then I believe it's a matter of just using the appropriate client libraries, which I believe is your issue even though the error is misleading. You should definitely try using a Java Project for a stand-alone web service invocation. According to this link: http://edocs.bea.com/wls/docs103/webserv_rpc/client.html#wp229351 you simply need 1 jar file named wseeclient.jar on your path, which is archived inside <WL_INSTALL>\wlserver_10.3\server\lib\wseeclient.zip
    Once I set up a new Java Project with wseeclient.jar on my path and my clientgen generated classes, I could invoke the sample.
    Also, here is what the successful invocation from the command line using (ant build, ant deploy, ant run):
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant build
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar
    [delete] Deleting directory C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    server:
    [mkdir] Created dir: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar
    [jwsc] JWS: processing module /SimpleImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /SimpleImpl
    [jwsc] JWS: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple\SimpleImpl.java Validated.
    [jwsc] Since compiler setting isn't classic or modern,ignoring fork setting.
    [jwsc] Compiling 2 source files to C:\temp\_x58sqp
    [jwsc] Since compiler setting isn't classic or modern,ignoring fork setting.
    [jwsc] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF
    [jwsc] Copying 22 files to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF
    [jwsc] Copying 2 files to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF\classes
    [jwsc] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl
    [jwsc] [EarFile] Application File : C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\META-INF\application.xml
    [AntUtil.deleteDir] Deleting directory C:\temp\_x58sqp
    client:
    [mkdir] Created dir: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] Ignoring JAX-WS options - building a JAX-RPC client
    [clientgen]
    [clientgen] *********** jax-rpc clientgen attribute settings ***************
    [clientgen]
    [clientgen] wsdlURI: file:/C:/Oracle/wls10.3/wlserver_10.3/samples/server/examples/build/webservicesJwsSimpleEar/SimpleImpl/WEB-INF/SimpleImplService.wsdl
    [clientgen] serviceName : null
    [clientgen] packageName : examples.webservices.jws_basic.simple.client
    [clientgen] destDir : C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] handlerChainFile : null
    [clientgen] generatePolicyMethods : false
    [clientgen] autoDetectWrapped : true
    [clientgen] jaxRPCWrappedArrayStyle : true
    [clientgen] generateAsyncMethods : true
    [clientgen]
    [clientgen] *********** jax-rpc clientgen attribute settings end ***************
    [clientgen] Package name is examples.webservices.jws_basic.simple.client
    [clientgen] DestDir is C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] class name is Simple_Stub
    [clientgen] service class name is SimpleImplService
    [clientgen] Porttype name is Simple
    [clientgen] service impl name is SimpleImplService_Impl
    [javac] Compiling 4 source files
    [javac] Note: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client\examples\webservices\jws_basic\simple\client\Simple_Stub.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 1 source file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [jar] Updating jar: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\examplesWebApp\WEB-INF\lib\jws_basic_simple.jar
    [copy] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\examplesWebApp
    build:
    BUILD SUCCESSFUL
    Total time: 22 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant deploy
    Buildfile: build.xml
    deploy:
    [wldeploy] weblogic.Deployer -verbose -noexit -source C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar -targets examplesServer -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -source C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar -targets examplesServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] <Dec 23, 2008 2:48:19 PM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, webservicesJwsSimpleEar [archive: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJws
    SimpleEar], to examplesServer .>
    [wldeploy] Task 0 initiated: [Deployer:149026]deploy application webservicesJwsSimpleEar on examplesServer.
    [wldeploy] Task 0 completed: [Deployer:149026]deploy application webservicesJwsSimpleEar on examplesServer.
    [wldeploy] Target state: deploy completed on Server examplesServer
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + webservicesJwsSimpleEar examplesServer
    BUILD SUCCESSFUL
    Total time: 9 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant run
    Buildfile: build.xml
    run:
    [java] Got result: Here is the message: 'Hi there!'
    BUILD SUCCESSFUL
    Total time: 7 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>

  • J2ME webservice client problem

    hi,
    i am trying to use the webservice client using J2ME on Nokia 6630 device, the problem comes as follow:
    i am using webservice client at netBeans IDE 5.0. started the project and create the webservice client, compiled the project, worked on the emulator properly.
    transfered it on the device, but unfortunatily does not do anything, when i select the application and nothing happen!
    please advice, because i have several trials with no use, and i searched whole the internet, no one talked about this problem.
    thanks in advance.

    please be more specific...
    is the installation is OK?
    if it's OK, can you see the first screen of your application and when your application is freezing? do you try to connect it to the web?
    ...

  • Deploying client apps without deploying Weblogic.jar ?

    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is there
    any way of allowing my clients to use Weblogic JNDI without having to deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be much
    appreciated.....even if its simply 'thats just the way you have to do it
    !......will save me time trying to get other solutions to work...!
    TIA

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • Deploy BlazeDS services separately from Flex client app?

    Is it possible to deploy my BlazeDS services app separate
    from the Flex client app? I would like to manage the 2 deployments
    separately. Every example and the instructions seem to link
    everything into one deployment bundle.

    Hi Alex, thanks for your advice. I tried reading the client-side logs, but it just physically shows what I was saying earlier - that the consumer is connected and subscribed, but no messages are coming through to it.
    I've attached the output of the 'flashlog.txt' file. For the particular session shown, the flex application was sent 8 JMS messages, but as you can see nothing got through. I put a 'trace' message in the message handler function (for my consumer object), but it never gets called.
    'E2513351-75DA-0837-7263-3807B91D9630' consumer set destination to 'flextest-message-destination'.
    '7D784A40-DBBB-71F1-4029-3807B91D45E3' producer set destination to 'flextest-message-destination'.
    'consumer' consumer subscribe.
    'flextest-streaming-amf' channel endpoint set to http://localhost:8400/FLEXTEST/msgbroker/streaming-amf
    'flextest-streaming-amf' channel settings are:
    'flextest-streaming-amf' pinging endpoint.
    'flextest-streaming-amf' channel is connected.
    'flextest-streaming-amf' channel sending message:
    (mx.messaging.messages::CommandMessage)
      body=(Object)#0
      clientId=(null)
      correlationId=""
      destination="flextest-message-destination"
      headers=(Object)#0
      messageId="8A592005-3C8A-4C6C-B074-380857710C00"
      operation="subscribe"
      timeToLive=0
      timestamp=0
    'consumer' consumer connected.
    'consumer' consumer acknowledge for subscribe. Client id '37CC5DED-A019-7110-3C89-A9926835103E' new timestamp 1233595684954
    'consumer' consumer acknowledge of '8A592005-3C8A-4C6C-B074-380857710C00'.
    Seems to me there can only be two explanations: either my BlazeDS configuration is incorrect (which is unlikely given that everything works if I use a ActiveMQ as my JMS provider with only trivial changes to my configuration), or there is some bug within BlazeDS that is preventing it from working properly with FioranoMQ. What do you think?

  • Can't able to deploy webservice to IAS 10.1.2.0(window) by using Jdevloper

    Hi,
    I have got the successful msg in time of connect iAS 10.1.2.0 from Jdev 10.1.3 .
    But when I tried to deploy a simple webservice to ias then I got following deployment message :
    ---- Deployment started. ---- Aug 18, 2009 10:38:47 AM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (OracleApplicationServer_Abir).
    Wrote WAR file to C:\Webservice\Project1\deploy\WebServices.war
    Wrote EAR file to C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear
    Invoking DCM servlet client...
    C:\jdeveloper1032\jdevstudio10132\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdeveloper1032\jdevstudio10132\jdev\lib\oc4j_remote_deploy.jar http://157.227.124.85:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy C:\OraHome_2 C:\Webservice\Project1\deploy\Webservice-Project1-WS.ear Webservice-Project1-WS OAS
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
    Please, wait for command to finish...
    Checking command status...
    Angshuman
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=9de37c5546b4f6f0200f5eb44dc8a2c0b7a90d89b533
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 16 seconds
    #### Deployment incomplete. #### Aug 18, 2009 10:39:03 AM
    Please help in this regards..

    Run the following in your terminal where you have a sh shell.
    export ORACLE_HOME= <give here the location of Oracle Infrastructure Home>
    cd $ORACLE_HOME
    sqlplus / as sysdba
    ## if you continue to get problems, then see the following file;
    cat $ORACLE_HOME/network/ADMIN/sqlnet.ora
    Check if you have a line with the following attribute:
    SQLNET.AUTHENTICATION_SERVICES
    make sure it is not missing, nor reporting a none value. If it does, change it to the following:
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    Save the file. Now restart infrastructure:
    cd $ORACLE_HOME
    opmn/bin/opmnctl stopall
    opmn/bin/opmnctl startall
    ## now try getting into the database again.
    sqlplus / as sysdba
    hope that helps!

  • Minimal requirements for remote client app to call a EJB 3 session bean

    I'm just starting to get into EJBs, trying to learn the EJB 3 APIs. I kind of understand the setup on the server side to create a session bean. What I don't understand is what I would have to deploy for each of the remote client app (Swing-based GUI or something like that) installations. Of course, the client app code would have to be deployed to each client desktop, but what stuff related to the session bean? Just the session bean interface class?
    For ease of discussion, let's say my bean is CalculatorBean, having two interfaces, CalculatorRemoteIface and CalculatorLocalIface. Let's also say my client app, CalculatorUI, is a simple Swing-based GUI that grabs a reference to a CalculatorBean.
    Other than just the Swing-based classes and the JRE, what JARs/classes will I want to deploy to each desktop?
    (Please assume the latest Sun Java System App Server 9 and Java EE 5, if you are familiar with them.)

    Personally- I would deploy your backend
    in EJB 3.0, but then expose it as a web service. It
    is MUCH easier for your clients to connect to a web
    service (and mantain that code), then to have them
    connect via RMI/JNDI.Oh, I would say it's quite the opposite. RMI/JNDI is MUCH easier from a client point of view than web services. To make web services work easy from the client side you have to generate code and the tools that generate code from a web services wsdl file doesn't do a great job today. But that was not the question. But take some time reading this article about webservices...it's quite funny and spot on: http://wanderingbarque.com/nonintersecting/2006/11/15/the-s-stands-for-simple
    Now to your question, yes you will need the remote interface on the client side.
    /klejs

  • Could not find the main class - Problem with Webservice-Access

    Hello Everybody,
    I'm having serious Problems with accessing a WebService (Tomcat-Axis) per executable jar-File.
    I constructed a simple GUI with 3 Textboxes 1 Button and 1 Resultbox.
    I use eclipse so it was no Problem to simple generate the Backgroundclient by Processing the .wsdl-File of the WS.
    Now I do this:
    Head_tServiceLocator serviceLocator = new Head_tServiceLocator();
    Head_t service = serviceLocator.getRPCCall();
    RPCCallSoapBindingStub Head_t = (RPCCallSoapBindingStub) service;and use the Webservice like an Object.
    All this works very well.
    Now the Problem:
    Head_t service = serviceLocator.getRPCCall();this Line has to throw a ServiceException.
    If i add a try-catch Block to Process the Message JAVA tells me after i exported to JAR (with Manifest-stuff and so on) and double Click on the JAR the following :
    Could not find the main Class - Program will exit.
    And if i add a throws Declaration to the Methodheader it tells me:
    Fatal Exception Occured - Program will exit
    But if i Comment out that Line at least the GUI is being displayed (so it DOES find the main-Class). But then of course the Webservice won't be accessed.
    All the JARs needed (axis.jar, commons-discovery.jar and so on) are in the same Directory as the Webservice-Client.jar
    Please Help me.
    Greets,
    Zap

    I am not done any typing mistake while creating the jar file i already followed the suggestion that you have mentioned but still the same error .
    This is my MANIFEST.MF file created under META-INF folder
    Manifest-Version: 1.0
    Class-Path: qtjambi-4.4.3_01.jar qtjambi-win32-msvc2005-4.4.3_01.jar
    Created-By: 1.5.0 (Sun Microsystems Inc.)
    Main-Class: Ui_MainWindow
    When i extracted the app.jar following this i got
    1. META-INF folder inside that MAINFEST.MF file the contents i have already placed above
    2. qtjambi-4.4.3_01.jar
    3. qtjambi-win32-msvc2005-4.4.3_01.jar
    4. Ui_MainWindow.class
    Please tell me whats wrong in that i can also give you the app.jar file please let me know the email id ..

  • Webservices client exception

    Our application has servlets talking to webservices. To communicate we place webservices client in WEB-INF directory in war files. The problem we are facing is that when we try to access one of our webservices , It throws following exception
    java.lang.VerifyError: Cannot inherit from final class
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
    ader.java:476)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
    java:181)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
    sLoader.java:62)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.
    java:223)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
    sLoader.java:41)
    at weblogic.xml.schema.binding.ClassLoadingUtils.loadNonArrayClass(ClassLoading
    Utils.java:68)
    at weblogic.xml.schema.binding.ClassLoadingUtils.loadClass(ClassLoadingUtils.ja
    va:43)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.loadClass(TypeMappingBa
    se.java:627)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.newInstance(TypeMapping
    Base.java:611)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.addTypeMapping(TypeMapp
    ingBase.java:587)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMappingBase
    .java:771)
    at weblogic.xml.schema.binding.internal.TypeMappingBase.readXML(TypeMappingBase
    .java:550)
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegistry.jav
    a:73)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:78)
    at com.telverse.soap.admin.user.provisioning.process.Provisioning_Impl.<init>(Provisioning_Impl.java:22)
    at com.telverse.manager.ProvisioningManager.findFaceplateButtonsByUID(Provision
    ingManager.java:109)
    at com.telverse.actions.PhoneAction.displayPage(PhoneAction.java:434)
    The code which tries to access is as following:
    1. Provisioning_Impl prov = new Provisioning_Impl(url+"/provisioning/provisioning?WSDL");
    2. ProvisioningPort provPort = prov.getprovisioningPort();
    3. provPort.CALLFUNCTION();
    The above exception is thrown at Line no1.
    Does anybody know the solution of this error?

    I am not sure what is causing this error. Are you able to run this client outside the web app as a standalone client?
    http://manojc.com

  • Client apps accessing WL 6 services

    Hi All
    This is an addendum to the question I posted :
    Subject: External clients accessing WL(4.5.1 SP13) JNDI
    Date: Thu, 15 Feb 2001 14:07:38 -0500
    (BTW, I heard from only one person till now).
    I would repeat the question. We all have clients (applications) which
    would want to make use of our services (beans, etc). How are they able
    to access the Weblogic server's JNDI space?
    Only by having WLInitialCtxFactory and other related classes in their
    classpath??
    If that IS the case, isnt it defeating the purpose of using JNDI. Where
    is the transparency of location here. Looks like I still need to bundle
    Weblogic server classes to my clients (how many ever they may be).
    Support says there was no other way in WL 4.5.1. Is it any different in
    WL 6?
    If there is another way people are dealing with this situation, I would
    be grateful if you can reply to this post.
    Thanks
    Madhu
    (PS Weblogic engineers, please respond to this)

    Hi
    I wish there was a way that one could access using ANY JNDI implementation
    PROVIDED the credentials could be verified within the Weblogic security
    realm.
    Then I could ask the client to use SUN/Netscape or any other vendor's
    implementation and give the client a generic guest kind of credentials.
    What would be the issues involved if this were to happen?
    In our situation, the client might be another team hosting their own
    applications on Websphere or SilverStream and I cannot ask them to load up
    WL classes too. You know how it works.
    Thanks
    Madhu
    Daniel Hoppe wrote:
    Hi,
    for WL5.1 there is a fourth approach which needs careful investigation
    to work properly but which is successfully used with Java Webstart
    within our development team. I guess this will work for WL6.0 in a
    similar manner. We use java -verbose and utils.verboseToZip to extract
    only the classes needed into one wl specific jar. The advantage is that
    there is an overal jar of about 2MB, so it's realistic to distribute
    from ISDN connections onwards. The disadvantage is that you need to
    follow every code line of your application very carefully - especially
    error situations - to get all the necessary classes.
    Daniel
    -----Original Message-----
    From: K.J. van der Bent [mailto:[email protected]]
    Posted At: Tuesday, February 27, 2001 11:29 PM
    Posted To: jndi
    Conversation: Client apps accessing WL 6 services
    Subject: Re: Client apps accessing WL 6 services
    Yes, dealing with the same problem.
    At the moment we think that there are three strategies:
    1. Deploy all WL classes on the client (weblogicaux, current
    servicepack-jar
    and a jar containing the complete classes directory). This takes about
    20
    MB. Since we will use Java Web Start for deploying our applications we
    install this 'weblogic bundle' along with the installation of JWS. From
    then
    on, only the servicepack jar (~2 MB) will be updated on the server and
    therefore downloaded by JWS to the client. It's not an ideal situation
    but
    it allows 'quick and easy' developing
    2. A second approach is to develop applets and use the plugin to execute
    them on the client. The plugin allows single class loading (JWS only
    loads
    jars!) and requests for a class only when it is needed. This way you
    don't
    need 20 MB of jars on the client but still many weblogic classes are
    loaded.
    (And aren't we tempted to use Java Web Start instead of applets embedded
    in
    a browser!)
    3. The third approach we are currently looking into is develop an
    application totally independent of Weblogic (Thus, no
    WLInitialCtxFactory).
    Disadvantages are that you can't use some of the benefits of WL (like
    optimized t3 connections and maybe easier developing). Advantage however
    is
    that our applications are independent of the type of application server.
    Briefly this is where we are now. We were also a little discouraged
    while
    browsing the newsgroups and noticing that this seems to be an issue for
    many
    developers.
    Maybe someday...
    K.J. van der Bent

Maybe you are looking for