Generating client stubs...

Hi all,
I want to ask a question about my j2me web service project.
Wireless Toolkit 2.5,
Tomcat 5.0 for Java WSDP,
Java Web Services Developer Pack 1.5,
jdk1.5.0_06 are installed and environment variables are adjusted...
When i want to generate client stubs after i deploy the project via ant, i get this error:
error : com.sun.tools.javac.Main is not available in the classpath..
error: compilation failed, errors should have been reported
How to solve this problem, please help...

I found more notes on what I had to do:
- the process above created package names like java.oracle_e1_bssv_jp010000
- we need to rename these to be proper package names.
- refresh the eclipse project so you see these folders
- select the package, right click, refactor, rename
- rename these to be like oracle.e1.bssv.jp010000 (remove the java. and replace _ with .)
- there will probably be a bunch of errors in individual java files you will need to fix.
- they are very easy, it should be a matter of just deleting the imports, these are not needed because they are in the same package.

Similar Messages

  • Errors generating client stubs for web services

    Hello,
    We are having issues trying to generate client stubs from the Unifier wsdl document (mainservice.wsdl). I see this was generated using Axis 1.4 (2006). I normally use Apache CXF but it complains due to the use of RPC/encoding. I tried Axis2 but it complains about "SchemaCompilationException: can not find type {http://schemas.xmlsoap.org/soap/encoding/}Array from the parent schema". I am wondering if we need to use Axis 1.4?
    If you have successfully generated client stubs from the wsdl documents please let me know which method was successful for you.
    We have Unifier R9.12 installed.
    Thank you
    Rudy

    I found more notes on what I had to do:
    - the process above created package names like java.oracle_e1_bssv_jp010000
    - we need to rename these to be proper package names.
    - refresh the eclipse project so you see these folders
    - select the package, right click, refactor, rename
    - rename these to be like oracle.e1.bssv.jp010000 (remove the java. and replace _ with .)
    - there will probably be a bunch of errors in individual java files you will need to fix.
    - they are very easy, it should be a matter of just deleting the imports, these are not needed because they are in the same package.

  • Generate client stubs for EJBs? Is this correct?

    Hi,
         Third time I write this... maybe it gets actually posted now...
    I'm using Sun's appserver (edition 8) to learn EJBs. I have a small app with 2 EJBs runing on the server and I intend to test them using junit test cases running from Eclipse (as a normal java program, no client container or whatsoever). I realized that in order connect my client app to the remote homes on the server I need to have the client stubs. OK. I saw that they are actually created when I generate the deployment for a client app. So what I did is open the .jar and copy the stubs to my client app in Eclipse. It works... but I fear is NOT the way to go...
    My questions:
    A) How can I generate ONLY the stubs?
    B) Is it necessary to deploy the EJBs on the server to generate the client stubs to access the remote interfaces?
    Any answers or indications or directions to take are WELCOME :-)
    C) Is what I do correct? I mean, are you guys too writing client apps that do NOT run in the client container? If so, how do you get the stubs? Maybe my approach to developing EJBs is not correct?
    Thank you for any answers, comments or indications and directions to take!

    Hi Pablo,
    please give me a hint, i have the same problem in my mind.
    I would like write a simple application with eclipse as a application client. I'm reuse the rmi-iiop-simple sample of application server 8. My steps until now:
    - I have execute the sample full - it works.
    - I have set up a project within eclipse workspace with content of sun's sample code
    - I have chamged the build.xml for reuse -> it works i can create ear and other jars
    - I deploy the ear with web front end of application server -> web app works
    - I start my application in eclipse debug (java-application) -> this goes wrong -> class cast exception by narrow
    Because i would like use the application as application client so i have added the j2ee.jar and the appserv-ext.jar to my classpath.
    At this point i think the application must be run. The appserv-ext.jar and the j2ee.jar should realize the container. But she doesn't !
    Which thing is wrong in my mind?
    Thanks Thomas

  • Dosen't generate Client stubs; java.lang.NoSuchMethodException

    I'm trying to do the sameple web services at http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
    I got error in Client Configuration Page (step 25) , when I clicked Finish,
    It show following error. Please help me to resolve. Thanks.
    Exception occurred while code generation for WSDL org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
    Exception occurred while code generation for WSDL org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
        java.lang.NoSuchMethodException: org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
        at java.lang.Class.getMethod(Unknown Source)
        at org.eclipse.jst.ws.axis2.consumption.core.utils.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:369)
        at org.eclipse.jst.ws.axis2.consumption.core.command.Axis2ClientCodegenCommand.execute(Axis2ClientCodegenCommand.java:89)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:418)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:358)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:253)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:252)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:222)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:96)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:255)
        at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:380)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1169)Edited by: Nidh on Dec 21, 2007 5:34 AM

    Norbert,
    Bill has mentioned in the past that the JARs present in the SDK have to
    match those JARs that live on the SLM server - there are some new
    methods and whatnot that have been added.
    So copy any JARs from SLM that match anything in
    //content/dev/sdk/build over, and try again.
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=441144

  • 401 not auth from generated oracle client stub to MS web service

    Sorry if this is posted elsewhere, but I've scoured the web and otn and have not had any real luck yet. I took a wsdl from a Microsoft webservice and generated the web service proxy in jdev-10.1.3.3. I added a few lines to set the endpoint, username, and password. I compiled to a jar and was able to successfully contact the MS ws from the command-line using both 1) java 1.5 on my desktop with the jdeveloper jars in the classpath, and 2) java 1.5 on our 10.1.3.3 development appserver. However, when I take that exact client code and deploy it to the same 10.1.3.3 appserver, I get back a 401 unauthorized.
    Packet traces show that in all (3) cases, the client is calling the ws using NTLM authentication (I would have expected HTTP Basic Authentication) I'm at a loss to understand why this doesn't work. I even started looking into seeing if I could force the code to use Basic Auth, but there did not seem to be any ability in the generated client stub to do so. There was a server-side certificate that I needed to import, but that seemed fine in the (2) command-line interface cases above after I used keytool to import the cert into the cacerts keystore of both my local desktop's and the OAS appservers's cacerts.
    I generated the webservice client using both the WSDL-->right-click-->Generate Web Service Proxy in jdev, and via command line using wsa.jar -genProxy, but I get the same generated code and the same result.
    Questions: 1) Is there a way to force Basic Auth from an Oracle generated client?
    2) Does anyone have a step-by-step for generating a Basic-Auth client for a Microsoft webservice?
    Thanks in advance,
    Chris

    I did a packet trace of the good case (command-line on the 10.1.3.3 appsvr) vs. the bad case (deployed in the 10.1.3.3 appsvr), and it looks like there are (3) lines of base64 characters for the 'Authorization: NTLM xxxxxx' header in the good case, and only (2) lines of base64 characters for the same header option in the bad case. Also, the good case has an 'NTLM Response' field of 24 hex characters and the bad case has an empty 'NTLM Response' field. This really smells like a bug, but I'm not 100% sure. Does anyone have a way to tell?
    Has anybody been able to generate a web service client in Oracle that talks to a Microsoft webservice using Basic Authentication?

  • How to generete helper methods in client stubs

    Hello all
    my web service is using complex types , when the client side it importing the wsdl
    and generating client stubs , is it possible to include helper methods that help to
    manage the complex type and not just getters and setters ?

    Hi,
    what version is the SAP PS running?  If WebAs or higher,  create an inbound synch interface containing your two parameters in the request structure and as many as you require in your response structure.  Generate an Inbound ABAP proxy, where you can plug in some code, i.e. create and instantiate an object of the required type and make the call to the BAPI.
    If SAP PS on lower than WebAs, then create a wrapper function module and make it RFC enabled.  Then plug your code in here and do the same thing.
    Watch out for commits!
    Cheers,
    Mark

  • Wscompile does not seem to be generating a client stub

    When I run the wscompile tool on a WSDL file generated using gSoap the wscompile tool does not generate the client stub. Instead it reports the following errors:
    warning: ignoring port "finsvc": no SOAP address specified
    warning: Service "finsvc" does not contain any usable ports
    The WSDL file and the config file is shown below (please note that the IP address has been changed to 255.255.255.255 in this example but when we ran wscompile it was a valid one):
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="finsvc"
    targetNamespace="http://www.xxxxxxxx.com/abcd/finsvc"
    xmlns:tns="http://www.xxxxxxxx.com/abcd/finsvc"
    xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
    xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nsfinsvc="http://www.xxxxxxxx.com/abcd/finsvc"
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
    xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <types>
    <schema targetNamespace="http://www.xxxxxxxx.com/abcd/finsvc"
    xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
    xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nsfinsvc="http://www.xxxxxxxx.com/abcd/finsvc"
    xmlns="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="unqualified"
    attributeFormDefault="unqualified">
    <import namespace="http://www.w3.org/2003/05/soap-encoding"/>
    <complexType name="getFinStatusRequest">
    <sequence>
    <element name="lswebcmn-dept" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-opr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-pwd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-func" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-action" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-option" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <element name="lswebcmn-sessid" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="ltnum" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    </sequence>
    </complexType>
    <complexType name="getFinStatusRspLtdet">
    <sequence>
    <element name="ltnum" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="ltnum1" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="ltnum2" type="xsd:int" minOccurs="1" maxOccurs="1"/>
    <element name="ltname" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ArrayOfgetFinStatusRspLtdet">
    <complexContent>
    <restriction base="SOAP-ENC:Array">
    <sequence>
    <element name="item" type="nsfinsvc:getFinStatusRspLtdet" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="nsfinsvc:getFinStatusRspLtdet[]"/>
    </restriction>
    </complexContent>
    </complexType>
    </schema>
    </types>
    <message name="getFinStatus">
    <part name="p-in" type="nsfinsvc:getFinStatusRequest"/>
    </message>
    <message name="getFinStatusRsp">
    <part name="lswebcmn-status" type="xsd:int"/>
    <part name="lswebcmn-statusmsg" type="xsd:string"/>
    <part name="ptrLtdet" type="nsfinsvc:ArrayOfgetFinStatusRspLtdet"/>
    </message>
    <portType name="finsvcPortType">
    <operation name="getFinStatus">
    <documentation>Service definition of function nsfinsvc__getFinStatus</documentation>
    <input message="tns:getFinStatus"/>
    <output message="tns:getFinStatusRsp"/>
    </operation>
    </portType>
    <binding name="finsvc" type="tns:finsvcPortType">
    <SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="getFinStatus">
    <SOAP:operation style="rpc"/>
    <input>
    <SOAP:body use="encoded" namespace="http://www.xxxxxxxx.com/abcd/finsvc" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
    </input>
    <output>
    <SOAP:body use="encoded" namespace="http://www.xxxxxxxx.com/abcd/finsvc" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
    </output>
    </operation>
    </binding>
    <service name="finsvc">
    <documentation>gSOAP 2.7.6d generated service definition</documentation>
    <port name="finsvc" binding="tns:finsvc">
    <SOAP:address location="http://255.255.255.255:18083"/>
    </port>
    </service>
    </definitions>
    And the config file used with the wscompile is as below:
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="./FINSVC.wsdl"
    packageName="com"/>
    </configuration>

    Thanks for the reply...
    C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -version
    JAX-RPC Standard Implementation (1.1.3, build R1)
    C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -verbose config.xml
    error: no mode was specified, please use one of -import/-define/-gen
    Usage: wscompile [options] configuration_file
    Use "wscompile -help" for a detailed description of options.
    C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -verbose -gen config.xml
    warning: ignoring port "finsvc": no SOAP address specified
    warning: Service "finsvc" does not contain any usable ports
    [ServiceInterfaceGenerator: creating service interface: com.Finsvc]
    [ServiceGenerator: creating service: com.Finsvc_Impl]
    [SerializerRegistryGenerator: creating serializer registry: com.Finsvc_SerializerRegistry]
    Since then we discovered the following:
    When I change the following line in the WSDL it works:
    From:
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
    To:
    xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
    It looks like wscompile (v1.1.3) works with Soap 1.1 WSDL only.
    When using wsimport instead all seems to work fine provided we change from rpc/encoded to document/literal.
    I guess that's the way to go...for Soap 1.2

  • How the client stub is generated from the wsdl file ?

    I want to know how the client stub is generated from the wsdl file ?
    how the client accesses the methods in the wsdl fie ?
    thanks alot .

    there are several ways to generate the stubs from a wsdl.
    if you're using jax-ws, there is a netbeans tutorial creating web services. you found this on http://www.netbeans.org/kb/trails/web.html.
    if you're using axis as your framework, i think this would be a nice introduction of it. link : http://www.eli.sdsu.edu/courses/spring03/cs683/notes/AXIS/AXIS.html#Heading4

  • Where are the client stubs generated

    I am using weblogic 8, so i understand that the client stub is generated by the container when the my ejbs are deployed.
    But where is this jar file created.
    Is there a tool which i can use to generate the .jar file once my ejb is delployed.
    Thank you
    Rahul

    (Found something on this for weblogic 6 ..maybe this holds true for weblogic 8) ..still cant figure out exactly where it creates the stub.. might have to try it out and search BEA_HOME
    WebLogic Server supports the use of ejb-client.jar files.
    The ejb-client.jar contains the home and remote interfaces, the primary key class (as applicable), and the files they reference. WebLogic Server does not add files referenced in your classpath to ejb-client.jar. This enables WebLogic Server to add necessary custom classes to the ejb-client.jar without adding generic classes such as java.lang.String.
    For example, the ShoppingCart remote interface might have a method that returns an Item class. Because this remote interface references this class, and it is located in the ejb-jar file, it will be included in the client jar.
    You configure the creation of an ejb-client.jar file in the bean's ejb-jar.xml deployment descriptor file.When you compile the bean with ejbc, WebLogic Server creates the ejb-client.jar.
    To specify an ejb-client.jar:
    1. Compile the bean's Java classes into a directory, using the javac compiler from the command line.
    2. Add the EJB XML deployment descriptor files to the compiled unit using the guidelines in WebLogic Server EJB Deployment Files.
    3. Edit the ejb-client-jar deployment descriptor in the bean's ejb-jar.xml file, as follows, to specify support for ejb-client.jar:
    <ejb-client-jar>ShoppingCartClient.jar</ejb-client-jar>
    4. Generate the container classes that are used to access the bean using weblogic.ejbc and create the ejb-client.jar using the following command:
    $ java weblogic.ejbc <ShoppingCart.jar>
    Container classes include both the internal representation of the EJB that WebLogic Server uses, as well as implementation of the external interfaces (home, local, and/or remote) that clients use.
    External clients can include the ejb-client.jar in their classpath. Web applications would include the ejb-client.jar in their /lib directory.
    Note: WebLogic Server classloading behavior varies, depending on whether or not the client is stand-alone. Stand-alone clients with access to the ejb-client.jar can load the necessary classes over the network. However, for security reasons, programmatic clients running in a server instance cannot load classes over the network.

  • How to create client stub while deployign EAR on Oracle Application Server

    Hi,
    I have deployed an EJB on Oracle Application Server 10g 10.1.2.0.2. And i want to call this ejb from other app server using ejb client. For that i need client stub.
    Is there any way I can create client stub while deploying EJB on the OC4J?
    I am sure there will be some options.
    Thanks and Regards
    AT

    Amit,
    It depends on which transport protocol you use to transmit both the client requests and the server responses: either IIOP or ORMI.
    Here's how it works: if you've chosen the IIOP protocol, the client stubs are generated at deploy time and stored in the iiopClient.jar file. Once created, you append this file to your java client's classpath.
    Now, if your choice is ORMI, the client stubs are created on demand by the container, so there is no need to append any jar file to the client classpath.
    Consult the OC4J Services Guide in the Official Oracle Application Server docs for further inforrmation on this topic, specially the "Remote Method Invocation" chapter.
    RB

  • Failure when generating a stub from sap web service wsdl

    Hi All,
    I have a need here, i have to generate a stub of an wsdl of sap
    service , i am using jde of course i can use jde for eclipse if need
    be, but do u think am i obliged to use wsa (wtk2.5.2) to genrate my
    the stub to be integrated with jde blackberry, or can i do it with any
    oother library apache axis ? could u help me plz ? cz i tried to
    generate it via wtk2.5.2 but it's giving me errors !!!!
    http code return 401 which means my parmeter connection are not correct!! or that 'realm' param or www-authenticate , could any body help me here
    in my file config.xml, I m giving this url : http://hca-ecc.hca.group:8000/sap/bc/srt/wsdl/bndg_DD952C5B02C231F19D4D001C23D2E187/wsdl11/allinone/standard/document?sap-client=800;sap-user=forma&sap-password=lolpla
    C:\WTK2.5.2\bin>wscompile -gen -d  "C:\Documents and Settings\NAFNAF\Bureau\meri
    em\generated"  "C:\Documents and Settings\NAFNAF\Bureau\config.xml"
    error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseExc
    eption:5: com.sun.xml.rpc.sp/P-008 ; com.sun.xml.rpc.sp/F-020 "sap-password"
    any idea any help would be appreciated ,
    thankx,
    Meriem
    Edited by: MERRY NAFNAF on Oct 29, 2008 4:04 PM

    Hi Lin,
    have you tried SAP Note 830340?
    Regards
    Gregor

  • Problem with generating a stub for a Web Service

    I have written a WebService in Delphi that I wan't to call from Java using JDeveloper 9i Release 2. The Web-service works since I can call the webservice from Delphi but the generated java stub just looks like this:
    public class ITempConverterserviceStub
    public String endpoint = "";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public ITempConverterserviceStub()
    m_httpConnection = new OracleSOAPHTTPConnection();
    m_httpConnection.
    I would expect some method declarations for the methods I want to call in my Webservice ?
    Regards
    Roger Gilliar

    Hi
    As told by Khaja, when generating DS for ODS the technical name will appear as  prefix 8 with ODS technical name.
    Check in DS's.
    If you using BI7, then you have to change into BD1 client, then only you can able to view your DS.
    Reg
    Pra

  • WSDL/client-stub generation without EJBs ?

    My WL7 application invokes methods on external subscriber
    web-apps. I need to provide WSDLs for these external apps, since
    they'll be implemented by our customers.
    Currently, I create 'dummy' EJBs, then create .ears out of it,
    run 'servicegen' to create a dummy webservice, then run
    'clientgen' to create the WSDLs and the client stub classes
    that I'll finally use. I'd like to avoid some of the above
    steps. Ideally, I'd just create the appropriate Java interface
    classes, then use some tool to create the WSDL and the
    client-stub classes. Is this possible ?
    -john

    Hi John,
    Have you considered using a WSDL generation GUI, such as
    http://www.omniopera.com/omniopera.html
    Bruce
    BTW, you do realize that when a webservice is deployed on WLS v7, the
    WSDL is available to anyone using
    http://<host>:<port>/<context_url>/<webservice>?WSDL
    john wrote:
    Bruce, I'm not sure how I would use those other tasks to obtain
    what I want. AFAIK, the only way to generate a WSDL for a service
    is to use the 'clientgen' task. And the clientgen task requires
    the actual webservice implementation in the form of a .ear
    file.
    In my case, I need to create WSDLs which I then pass on to
    my customers, for them to implement and host. Currently, to do
    this I have to myself implement the desired dummy webservice
    and then use clientgen to obtain the WSDL (along with the
    stubs etc ..)
    thanx
    -john
    Bruce Stephens <[email protected]> wrote:
    Hi John,
    In addition to the servicegen and clientgen ant tasks there are now
    several other narrowly focused ant tasks such as autotype, and
    source2wsdd. Check out the documentation:
    http://edocs.bea.com/wls/docs70/webserv/assemble.html#1011066
    Hope this helps,
    Bruce
    john wrote:
    My WL7 application invokes methods on external subscriber
    web-apps. I need to provide WSDLs for these external apps, since
    they'll be implemented by our customers.
    Currently, I create 'dummy' EJBs, then create .ears out of it,
    run 'servicegen' to create a dummy webservice, then run
    'clientgen' to create the WSDLs and the client stub classes
    that I'll finally use. I'd like to avoid some of the above
    steps. Ideally, I'd just create the appropriate Java interface
    classes, then use some tool to create the WSDL and the
    client-stub classes. Is this possible ?
    -john

  • Generatin client stubs from wsdl file

    i user wsimport to generate the client stubs
    look like i am missing some files
    like the service port/stub..
    please help

    i user wsimport to generate the client stubs
    look like i am missing some files
    like the service port/stub..wsimport is run on a WSDL and it generates all required stubs for you. What is the exact nature of your problem ? more details please

  • Eclipse-AXIS2 : Generating the stub

    hi,
    i implemented a POJO business service, and use the eclipse web service wizard to generate the server and client side code.
    everything is OK, but i want to do a customisation, i would like to force the generated stub to extends a custom class ant not
    org.apache.axis2.client.Stub.
    my custom stub let's say GenericStub will extends org.apache.axis2.client.Stub, to endup with a stub like this :
    class OrederServiceStub extends GenericStub {
    class GenericStub extends org.apache.axis2.client.Stub {
    }any idea how to achieve that
    thanks

    Able to do it myself

Maybe you are looking for

  • Issue with adding a new HD for MacPro G5

    I currently have a MacPro G% that is connected to a network. I have tried to install a seagate barracuda 1TB HD as a storage drive. The G5 does not see the drive. DU does not see the drive. Is there a jumper/setting/something that I am missing in the

  • I have OSX 10.6.8 and i am told i need 10.7.4 to get the latest version of imovie how do I go about this?

    I have an iMac running OSX 10.6.8. I currently have iMovie version 8.0.6 and would like to upgrade iMovie to iMovie 11 I am told I need Mac OSX Version 10.7.4. How do I go about upgrading the operating system. Many Thanks

  • Todays update to 7.1.0 broke "Display PDF in browser"

    I do ***NOT*** want PDFs displayed in my browser. I ***DO*** want PDFs displayed in a separate Acrobat window. Version 7.0.9 was working this way until the update to 7.1.0 went in today. Now, regardless of the of the setting of the Edit --> Preferenc

  • Apps Install Location Doesnt do anything?

    I had CS6 installed on my machine in the C drive (125GB SSD) This was done with the very first cloud installer. I uninstalled it as I have a new SSD that I want my apps to be installed on. I just want my OS on the C drive. I donwload the cloud manage

  • BPC 7.5 NW - Activate functionalities

    Hello all. I have a new installation of BPC 7.5 NW SP05. I followed all the steps of the Installation Guide, I can access the Apshell and create members, dimensions, etc. But now I have some problems/doubts: - Creating Business Rules, if I do copy/pa