WSDL to JAVA conversion problem

Hi,
I am facing a problem while building the Java stubs, skeletons and data files from my WSDL file using the WSDL2Java utility of Axis. It is not generating the expected number of classes. Am I having a problem 'coz my wsdl contains two namespaces ?

it is pretty simple. if you use ant, just do this.
The best source of information is http://ws.apache.org/axis
<target name="wsdl2java">
<axis-wsdl2java url="C:/Server/wsdl/Test.wsdl"
all="true"
serverSide="true"
testcase="true"
verbose="true"
helperGen="true"
output="C:/Server/wsdl/wsdlsrc">
</axis-wsdl2java>
</target>

Similar Messages

  • WSDL to Java conversation

    I've got WSDL file. I want to produce Java sources for that WSDL.
    When I try to use WebService context menu function - I've got restriction:
    "SAP Netweaver not Apache Axis"
    How can I convert WSDL to Java skeleton ??

    Hello Christian!
    I try to use "Developer Studio 7.10" and "Developer Studio 7.10 CE".
    When I try to use DS 7.10 CE - I've got exception: "IWAB0014E Unexpected exception occured."
    [code]
    IWAB0014E Unexpected exception occured.
          java.lang.NullPointerException
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.getSOAPBindingAnnotation(ProxyGeneratorNew.java:2803)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.genWebServiceAnnotation(ProxyGeneratorNew.java:2845)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateSEI(ProxyGeneratorNew.java:2922)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateInterfaces(ProxyGeneratorNew.java:1031)
          at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:335)
          at com.sap.ide.es.ws.jee5.runtime.provider.internal.generator.topdown.Ejb3TopDownProviderGenerator.generateProvider(Ejb3TopDownProviderGenerator.java:260)
          at com.sap.ide.es.ws.jee5.core.provider.commands.GenerateTopDownWebService.doWork(GenerateTopDownWebService.java:28)
          at com.sap.ide.es.ws.jee5.core.provider.commands.OneShotOperation.execute(OneShotOperation.java:51)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:353)
          at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:251)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:250)
          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:851)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:220)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:94)
          at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(WizardPageManager.java:145)
          at org.eclipse.wst.command.internal.env.ui.widgets.SimpleWizardPage.getNextPage(SimpleWizardPage.java:136)
          at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:751)
          at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:351)
          at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
          at org.eclipse.jface.window.Window.open(Window.java:796)
          at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(DynamicPopupWizard.java:130)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
          at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
          at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
          at org.eclipse.core.launcher.Main.run(Main.java:977)
          at org.eclipse.core.launcher.Main.main(Main.java:952)
    [/code]
    When I try to use simple DS 7.10 - I've got strange situation: when I try to generate Java Skeleton as you write before, I can't choose "SAP Netweaver" as server runtime - only Axis available!!
    Can you help me register "SAP Netweaver" runtime in eclipse?
    BR Dedevich Alexey
    P.S. In Eclipse preference I see "SAP Netweaver" runtime? but when I try to generate Java skeleton from wsdl - there are no any runtime's except Axis.

  • WSDL to Java Conversion

    Hi,
    I am new to webservices. I am using axis1.1 and i want to convert an wsdl file to java. Can i do it using axis. Please suggest me how to do it and if there are some more sites from where i can get the detail about this, Please let me know.
    Thanks in advance.

    it is pretty simple. if you use ant, just do this.
    The best source of information is http://ws.apache.org/axis
    <target name="wsdl2java">
    <axis-wsdl2java url="C:/Server/wsdl/Test.wsdl"
    all="true"
    serverSide="true"
    testcase="true"
    verbose="true"
    helperGen="true"
    output="C:/Server/wsdl/wsdlsrc">
    </axis-wsdl2java>
    </target>

  • Error processing WSDL document: java.lang.ClassCastException: java.util.Ar

    Hi
    Program is giving unpredictable behaviour.
    Am trying to consume webservice using Axis Client.
    When running as stand alone Java programs its working fine.
    But when deployed on OC4J its giving problem
    Error processing WSDL document: java.lang.ClassCastException: java.util.ArrayList
    Could you please give some hint
    Regards
    Bajarang

    Here is the program
    QName serviceQN = new QName(targetNamespace,serviceName );
    System.out.println("After serviceQN "+ serviceQN);
    QName portQN = new QName( targetNamespace, portName );
    System.out.println("After port "+ portQN);
    // This Call object will be used the invocation
    Service service = new Service(implURI,serviceQN);
    System.out.println("After service "+ service);
    Call call = (Call) service.createCall();
    System.out.println("After call "+ call);
    // Now make the call...
    System.out.println("Invoking service>> " + serviceName + " <<...");
    call.setOperation(portQN,operationName);
    call.invoke( inputParams );
    System.out.println("Result returned from call to "+ serviceName+" ");
    Error while execution
    javax.xml.rpc.ServiceException: Error processing WSDL document:
    java.lang.ClassCastException: java.util.ArrayList

  • Delphi to Java conversion

    Hello,
    Are there any products that convert Delphi to Java? I am looking to port a Delphi application to Java swing (JFrame, etc) and wonder if there is something out there. I found some for VB to Java and Access to Java. I did see a link for something called Delphi2J, but the link was dead.
    Thanks
    Mike

    corrently i am doing delphi2 java conversion. In my first stage i am converting the delphi UI 2 Java UI(swing). can anybody help me with some mapping standards like ..TEdit of delphi will b changed in java as JTextField...and have to maintain the propar size also..so need the exact pixel size mapping ..etc. In Delphi we create a report by using QuickReport ..is there anything same in Swing as i hav to get the exact UI layout.One problem i have faced in delphi form any picture reference is stored as picture data instade of link..so i hav to get the image from that data in java.how can i get this?
    thanks
    gantait

  • Conversion problem in PURCHASE ORDER

    Hi all,
       wrong conversion was done in Quantities/Weights tab of item overview during creation of Purchase Order,instead of putting order unit  " 1 tonne  = 1000kg" it was wrongly fix as "5 tonne = 4536kg",  the order has been receive and issue , but during stock taking this conversion problem is giving wrong Quantity for the material in MB5B . Pls what can i do to resolve this.

    Hi
    If stock exists  then kindly do the reverse process as below
    1.Cancel material docuemt---MBST (Material document no and fiscial year)
    2.Delete the P.O line items --Me22n
    3.Enter the fresh line items in the same P.O
    If partial stock Exists then do the Physical inventory process to adjust the Stock
    Regards
    Damu

  • How to debug file content conversion problems?

    Hi,
    I'm trying to debug a file content conversion problem.  I'm mapping a few nodes in an IDOC to a file of fixed length fields.  I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
    However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created.  Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion.  How do I debug this because there is no descriptive error in the XI log?  If this node is not present, the file gets generated fine.
    Thanks,
    Basant Gupta

    Hi,
    If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
    So it wil help you debug the situation.
    If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
    /people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
    Regards,
    Moorthy

  • Java Session problem while sending mail(using javamail) using Pl/SQL

    Hello ...
    i am using Java stored procedure to send mail. but i'm getting java session problem. means only once i can execute that procedure
    pls any help.

    props.put("smtp.gmail.com",host);I doubt javamail recognizes the 'smtp.gmail.com' property. I think it expects 'mail.host'. Of course since it cannot find a specified howt it assumes by default localhost
    Please format your code when you post the next time, there is a nice 'code' button above the post area.
    Mike

  • Converted WSDL into .java-files - and now?

    I should implement a client for an existing web service. All I have is a .wsdl-file of the web service to call.
    Therefore I used the eclipse's functionality to convert .wsdl into .java files, which generated some files for me, for example:
    - interface XXX extending java.rmi.Remote
    - interface XXXService extends javax.xml.rpc.Service
    - class XXXProxy implements XXX
    - class XXXServiceLocator extends org.apache.axis.client.Service
    - class XXXSoapBindingStub extends org.apache.axis.client.Stub implements XXX
    - class XXXRfcException extends org.apache.axis.AxisFault implements java.io.Serializable
    - class XXXRfcExceptions implements java.io.Serializable
    My question... what to do now? How can I get the service and call its functionality?
    Your help is really, REALLY appreciated...

    Hi,
    Write client application like below.
    public class Client{
    public static void main(String [] args) throws Exception {
    // Make a service
    XXXService service = new XXXServiceLocator();
    // Now use the service to get a stub which implements the SDI.
    AddressBook port = service.getAddressBook();
    // Make the actual call
    Address address = new Address(...);
    port.addEntry("Russell Butek", address);
    Thanks&Regards,
    M.Kumaraswamy.

  • Java Programming Problem

    Hi all,
    I was looking for this java programming problem which had to do with a large building and there was some gallons of water involved in it too somehow and we had to figure out the height of the buiding using java. This problem is also in one of the java books and I really need to find out all details about this problem and the solution. NEED HELP!!
    Thanks
    mac

    Yes, it will. The water will drain from the bottom of
    the tank until the pressure from the water inside the
    tank equals the pressure from the pipe. In other
    words, without a pump, the water will drain out until
    there is the same amount of water in the tank as in
    the pipe The water pressure depends on the depth of the water, not the volume. So once the depth of the water inside the pipe reaches the same depth as the water inside the tank it will stop flowing. This will never be above the height of the tank.
    I found this applet which demonstrates our problem. If you run it you can drag the guy up to the top, when water in his hose reaches the level of the water in the tank it will stop flowing out.

  • Java Uninstall Problem

    Java Uninstall Problem
    This all came about because of a failed uninstall, using Your Uninstaller.
    The {Java runtime which is all I want) is not listed now & I tried all the other fix bad uninstall type features, all to no avail.} )
    When I DL & run the latest package (jxpiinstall-6u11-fcs-bin-b90-windows-i586-25_nov_2008.exe}
    & run it I get:
    1st message:
         "This software has already been installed on your computer.
         Would you like to install it?"
    If I say no, it exits.
    If I say yes, I get this second message:
         :This action is only valid for products that are currently installed."
    So Now I have no Java & have no idea what to do.
    Any help would be greatly appreciated.
    Thanks, Neuromancer23

    Sorry...after posting it i realized there was a more appropriate forum, of which it took quiet awhile to find.)
    Now that I know where to find the forum list I will never double-post again.
    I'll close the question if I can

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

  • Codepage conversion problem

    Hello,
      In a DB to DB scenario, I am getting this error "Error: Unexpected error converting database resultset to XML, codepage conversion problem?" on the side of the sender adapter. I am not able to see any messages or trace in IE-Monitoring. Is there any log wherein I can find out the problem as to where it is occuring?
    Regards,
    Sanjay

    Hi Sanjay,
    The JDBC sender adapter returns the rows selected from the database in the follwoing format.
    <resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2>column-value</ column-name2>
    <column-name3>column-value</ column-name3>
    </row>
    </resultset>
    This error occurs , when the source datatype you have created for the JDBC adapter does not match with this format. I would suggest that you check the source format along with the occurence of your field.
    Regards,
    Bhavesh

  • Java conversion for xkwert like komv-kwert ABAP filed

    Hi all,
    I am in process of converting the ABAP routines present in ECC into user exists in CRM.
    I am stuck up at a point wherein i am unable to find the java conversion for xkwert like komv-kwert abap field. If anyone has an idea on what exactly is the java conversion for the above field then please reply.
    Thanks In Advance,
    Vipin.

    vipin,
    I think this is condition value(komv-kwert ) , to get the condition value you can use the following method in java.
    pricingConditon.getConditionValue().
    Thanks and Regards
    shanto aloor

  • Sun Java security problems

    Please any one tel me about Sun Java security problems
    with Desktop application

    Hi.
    If you're using SSGD 4.41, please download the Admin guide from here:
    http://docs.sun.com/app/docs/doc/820-4907
    There, at page #41 you'll find useful info concerning "Client Connections and Security Warnings".
    Hope this helps,
    Rob

Maybe you are looking for

  • Songs on the iPod  cannot be updated beaucse all of the playlists .....

    I was trying to update my ipod and my ipod only has 52 songs but my libary has 92 songs. i tried to updated it by left clicking where it said my "RISHI"S IPOD" and clicked update...and this message said "Songs on the iPod "Rishi's iPod" cannot be upd

  • Interfaces and methods of Object class

    JSL 2.0 states the following If an interface has no direct superinterfaces, then the interface implicitly declares a public abstract member method m with signature s, return type r, and throws clause t corresponding to each public instance method m w

  • Current versions of everything- still get pop-ups!

    I have the most current version of Safari {Version 2.0.1 (412.5)} and all other Apple updates as of 25 Sep 2005. Still some pop-ups pop thru. Anyone know why? ....... yes I have the blocker checked -Apple //GS

  • Scanned Signature as a Custom Stamp

    I have scanned three different signatures in .pdf format that I would like to use in Acrobat 5 so that I may place my signature on .pdf files. I understand that there is a way to create a "custom stamp" for each of these signatures, but I am ignorant

  • WET54G to connect a WRT54G and WAP54G?

    I currently live in western Uganda where we have set up a wireless network to share a satellite ISP connection (between houses separated by about 100 meters). The system has been previously configured as follows (the ISP requires that we use their se