Java2wsdl / wsdl2java

Hi All,
I'm facing problems to use the wsdl2java tool from axis-apache.
I have a wsdl file generated by java2wsdl and when try to use wsdl2java tool to generate clients I get the following error:
java.io.IOException: Type {xsd:boolean}boolean is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:653)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:533)
Does anybody face this problem before?
Thanks in advance,
Carlos

Hi Carlos,
I'm facing quite a similar problem.
Do you have the namespace defined in
<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...>If you have it, try to import the namespace:
<wsdl:definitions ...>
<wsdl:import namespace="http://www.w3.org/2001/XMLSchema"/>
</wsdl:definitions>And then it should work (or at least you should get a different error, this is what happens in my example ;-) ).
Have fun trying!
Steffi

Similar Messages

  • Pass server exceptions to client in AXIS

    Hi everbody!
    I have a working Apache Axis framework and want to pass the exceptions thrown on server-side to the client.
    For instance I get an SQL-Exception on server side that the database wasn't found. (this problem was of course caused intentionally by myself to test the exception handling :-))
    Normally the method will fill a list with data and return it over the axis wire to the client. If the exception is thrown I got the SQL-Exception on server but on the client I got a null-pointer exception (due to the null list). I now want to pass this SQL-Exception to the client stacktrace. Any hints ? Thanks a lot in advance, I already searched the axis mail archive and found nothing....

    Looks like I'm following your steps, and that nobody replied. I've been trying with axis & tomcat, here's what I've foud out so far:
    1.-For what I've searched you have to wrap that exception into one you build that implements RemoteException (so you can pass it through the soap message). this actually doesn't work for me, I've got to implement Exception.
    2.-create wsdl & wsdd using Java2WSDL & WSDL2Java
    3.- I'm currently here, I see the soap message with my hello message but I don't know how to unwrap it from the client.
    HTTP/1.1 500 Internal Server Error
    Content-Type: text/xml;charset=utf-8
    Date: Thu, 26 Feb 2004 12:07:00 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.generalException</faultcode>
    <faultstring></faultstring>
    <detail>
    <ns1:fault href="#id0" xmlns:ns1="urn:Dummy"/>
    <ns2:exceptionName xmlns:ns2="http://xml.apache.org/axis/">faults.impl.DummyFault</ns2:exceptionName>
    </detail>
    </soapenv:Fault>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:DummyFault" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="http://impl.faults">
    <info xsi:type="xsd:string">mal saludo</info>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>

  • How to use JMS with tomcat and Axis

    Hello
    I'm new in ii, so i'm still a little bit lost. I have been implementing web services with tomcat and Axis. However, these services are synchronous and I would like that some services were asynchronous.
    I've been reading about the topic and I've found that JMS is a good solution for it. I have already downloaded JMS in my computer but now I don't know what else to do. I've been trying to run the SimpleQueueSender.java example but I get the error:
    JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    But I have attached all .jar from F:\Sun\MessageQueue\lib
    In addition to this, for my first webservices I used the Java2WSDL, WSDL2Java and AdminClient (axis tool) to create my web services bindings, stubs and skeletons and to deploy the web service on the server. Do I have to use them now with JMS? or now the deployment must be performed in a different way?
    Thank you in advanced,

    The error means that you have to specify the type and location of your jndi store. You could create a jndi.properties file and put two properties in it:
    java.naming.provider.url=file\\\:////var/jndi
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    for a file based jndi store. Then you have to make sure your jndi.properties file is in your CLASSPATH. Then you have to use something like imqadmin to create your jndi store and store in it your administrative objects like Queues and QueueConnectionFactories.

  • Attachments (SOAP-Exception)

    !! HELP !!!
    It is Tomcat 5.5, Axis, JUnit, Xerces, JAF
    I use the Stub for client, java2wsdl, wsdl2java;
    My servlet-client writted me:
    java.lang.ClassCastException: org.apache.axis.message.SOAPBodyElement
    at org.apache.axis.encoding.ser.JAFDataHandlerDeserializer.startElement(JAFDataHandlerDeserializer.java:72)
    at org.apache.axis.encoding.ser.OctetStreamDataHandlerDeserializer.startElement(OctetStreamDataHandlerDeserializer.java:44)
    at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:345)
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
    at org.apache.axis.client.Call.invoke(Call.java:2448)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:1804)
    at localhost.axis.services.ProductService.ProductServiceSoapBindingStub.getListProducts(ProductServiceSoapBindingStub.java:101)
    at ru.nsu.astepanov.appproducts.MainServlet.main(MainServlet.java:117)
    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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    error:; nested exception is:
    java.lang.ClassCastException: org.apache.axis.message.SOAPBodyElement
    when I call the method of service that return me OcteamStream via the Stub.
    !! HELP !!!
    !From Russia!

    it's base64, here's the codes i called, any hints?
                FormDataIntegration.FormDataIntegrationService dataIntClient = new FormDataIntegration.FormDataIntegrationService();
                dataIntClient.Url += "?blob=base64";
                dataIntClient.Credentials = new System.Net.NetworkCredential(account, password);
                FormDataIntegration.BLOB inXMLData = new FormDataIntegration.BLOB();
                inXMLData.binaryData = xmlData;
                FormDataIntegration.BLOB inPDFForm = new FormDataIntegration.BLOB();
                string pathPDF = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin\\ReplySlipByEmail.pdf");
                FileStream fsPDF = new FileStream(pathPDF, FileMode.Open);
                int lenPDF = (int)fsPDF.Length;
                byte[] bytePDF = new byte[lenPDF];
                fsPDF.Read(bytePDF, 0, lenPDF);
                inPDFForm.binaryData = bytePDF;
                FormDataIntegration.BLOB result = dataIntClient.importData(inPDFForm, inXMLData);
                return ApplyUsageRightsToPDF(result.binaryData, account, password, LCCertName);

  • Axis - Using type safe enumerations as parameters.

    I defined the following:
    interface A {
    foo(E x);
    where class E is a type safe enumeration (NOT a Java1.5 enum).
    When using java2wsdl | wsdl2java i get:
    interface A' {
    foo(String x);
    And then all the stubs and skeletons are implementing A' so I can't use my A. How can I stop axis from doing this?

    Hi,
    AFAIK, you can't. I'm not an expert though, so everything below may not be the best solution.
    The best way I have found for dealing with enums is to declare them as such in your schema, viz:
          <simpleType name="HoldStatus">
            <annotation>
              <documentation>The status of a hold.</documentation>
            </annotation>
            <restriction base="string">
              <enumeration value="INACTIVE"/>
              <enumeration value="ACTIVE"/>
            </restriction>
          </simpleType>Then, most WSDL->Java tools will do something sensible with this, making their own form of enum. I don't know about Axis, but Weblogic's wsdl2service does this.
    Then you still have to map between the generated enum and your one. This is the best solution I'm aware of, though.
    As far as running java2wsdl then wsdl2java - I'm not aware of any tools that will do 'round tripping' like this successfully. I'd be keen to hear of some if there are any though :-D
    -Tim

  • Problem when trying to use Java2WSDL tool of AXIS in tomcat 5.1.15

    Hi all,
    I am new to webservices. I developed a webservice and deployed it using admin client and deploy.wsdd file.It got deployed fine and then I tested it, thorugh a webclient and it worked fine.(i used call and service classes of org.apache.axis.client to call the webservice)
    Now I am trying to use the java2wsdl of axis to create a wsdl file and then further wsdl2java to create stub so that I can create a real simple webclient.
    I wen to directory
    axis-home/web-inf/classes/com
    and typed the command given below.
    java org.apache.axis.wsdl.Java2WSDL -o dvd.wsdl -l"http://localhost:80/axix/services/DVDSe
    rvice -n "urn:dvdservice" -p"com" "urn:dvdservice"com.DVDServicewhen I typed this I get the follwoing error,
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/extensions
    /ExtensibilityElement
            at org.apache.axis.wsdl.Java2WSDL.createEmitter(Java2WSDL.java:279)
            at org.apache.axis.wsdl.Java2WSDL.<init>(Java2WSDL.java:270)
            at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:680can anyone tell what I am really missing, thanks you for your time and thoughts.
    thanks
    Meena

    I solved the above issue, the things was I had not included some jar files in the classpath. But I ended up in different error
    The <class-of-portType> was not specified.
    I am not able to figure out how do set up -i parameter or how to set up -P parameter. Any comments .
    Thanks
    Meena

  • Problem in using WSDL2Java tool in axis

    Hi all,
    When we make our Webservices in Apache Axis at Server,the first step is to generate the WSDL file by using Java2WSDL tool and passing the interface and ip address of server as argument.For example,
    org.apache.axis.wsdl.Java2WSDL -o AddService.wsdl -l"http://127.0.0.1:8080/axis/services/AddService" -n AddService
    Then we use WSDL2Java to generate java files and write our code there.
    My problem is that I do not know what will be the IP address of the machine where this service will be deployed.So is there any way so that we can make all the java files in our application but provide the ip address during deployment.

    I was able to compile and build the codes in j2eetutorials14 recently. Now after few days I need to compile the code again .
    But when I am running 'asant build' command as given i tutorials I am getting ''asant' is not recognized as an internal or external command,
    operable program or batch file." error.
    I am not able to find out why suddenly asant is not available???
    Any pointers will be highly appreciated.
    Thanks

  • Wsdl2java - axis2 conversion

    i have a wsdl file which when i try to convert to java using wsdl2java gives the following error:
    Caused by: WSDLException: faultCode=PARSER_ERROR: Problem parsing
    'file:/C:/Uses/binu/Desktop/axis2-1.4-bin/axis2-1.4/bin/wsdl1.xml'.: The prefix "wsdl"
    for element "wsdl:definitions" is not bound.: org.xml.sax.SAXParseException:
    The prefx "wsdl" for element "wsdl:definitions" is not bound.
    This is a third party wsdl file and they say that the file is valid.
    If i add the xmls:wsdl and all related in the defention tag it is giving another parser error.
    We r using jdk1.4, axis2 and the version of the wsdl file is 2.0
    But i cant generate wsdl with the command line axis2 bat file,eclipse plugin,idea plugin
    Please help.
    thanks,
    Binu.
    Below is the wsdl file
    <wsdl:definitions targetNamespace="http://ws.centile.com">
    <wsdl:documentation>Enterprise</wsdl:documentation>
         <wsdl:types>
         <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://bean.admin.api.ws.centile.com/xsd">
    <xs:import namespace="http://bean.core.api.ws.centile.com/xsd"/>
         <xs:complexType name="AdministrativeDomainBean">
         <xs:complexContent>
         <xs:extension base="ax24:AbstractBean">
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="parentAdmtiveDomain" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
         <xs:complexType name="AdministrativeDomains">
         <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="elements" nillable="true" type="ax23:AdministrativeDomainBean"/>
    <xs:element minOccurs="0" name="number" type="xs:int"/>
    </xs:sequence>
    </xs:complexType>
         <xs:complexType name="AdministratorBean">
         <xs:complexContent>
         <xs:extension base="ax24:AbstractBean">
         <xs:sequence>
    <xs:element minOccurs="0" name="firstName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="lastName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="ownerAdmtiveDomain" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
         <xs:complexType name="Administrators">
         <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="elements" nillable="true" type="ax23:AdministratorBean"/>
    <xs:element minOccurs="0" name="number" type="xs:int"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
         <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.centile.com">
    <xs:import namespace="http://error.core.api.ws.centile.com/xsd"/>
    <xs:import namespace="http://bean.admin.api.ws.centile.com/xsd"/>
    <xs:import namespace="http://bean.enterprise.api.ws.centile.com/xsd"/>
    <xs:import namespace="http://bean.telephony.api.ws.centile.com/xsd"/>
         <xs:element name="assignCallBarringToExtension">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="assignCallBarringToExtensionResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:complexType name="Exception">
         <xs:sequence>
    <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
    </xs:sequence>
    </xs:complexType>
         <xs:element name="ActionException">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="ActionException" nillable="true" type="ax22:ActionException"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteAdministrativeDomain">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteAdministrativeDomainResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteAdministrator">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteAdministratorResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteCallBarring">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteCallBarringResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDepartment">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDepartmentResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDevice">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedPhysicalID" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDeviceResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDialPrefix">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteDialPrefixResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteEnterprise">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteEnterpriseResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteExtensionGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteExtensionGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteForwarding">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteForwardingResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteGateway">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteGatewayResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteGatewayGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteGatewayGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteIVRService">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteIVRServiceResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteIpbx">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteIpbxResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteNetworkDomain">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteNetworkDomainResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deletePstnRange">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="rangeStart" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deletePstnRangeResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteService">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="serviceName" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteServiceResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteSite">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteSiteResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteSpeedDial">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteSpeedDialResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteUser">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteUserResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteUserExtension">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedNumber" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="deleteUserExtensionResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="isConnectedResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="login">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="loginResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="logoutResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setContext">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="admtiveDomainName" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setContextResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setExtensionsInACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="overflowGroup" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extensions" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setExtensionsInACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setExtensionsInExtensionGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extensions" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setExtensionsInExtensionGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setGatewaysInGatewayGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedGatewayGroup" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="gateways" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setGatewaysInGatewayGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneExtensionInACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="overflowGroup" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneExtensionInACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneExtensionInGroupAddress">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneExtensionInGroupAddressResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneGatewayInGatewayGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedGatewayGroup" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="position" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="setOneGatewayInGatewayGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="unassignAllCallBarringToExtension">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="unassignAllCallBarringToExtensionResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="unassignCallBarringToExtension">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="unassignCallBarringToExtensionResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createAdministrativeDomain">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createAdministrativeDomainResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomainBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateAdministrativeDomain">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateAdministrativeDomainResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomainBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getAdministrativeDomain">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="parentAdmtiveDomain" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getAdministrativeDomainResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministrativeDomains"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createAdministrator">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createAdministratorResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministratorBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateAdministrator">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedLogin" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateAdministratorResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:AdministratorBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getAdministrator">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="firstname" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="lastname" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="ownerAdmtiveDomain" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getAdministratorResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax23:Administrators"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroupBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedExtension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroupBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getACDGroup">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="extension" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="label" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="service" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="groupPassword" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="autoLogin" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="hidenDirectory" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="queueSize" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="syndicalPause" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getACDGroupResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:ACDGroups"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createCallBarring">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createCallBarringResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarringBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateCallBarring">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateCallBarringResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarringBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getCallBarring">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="type" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="description" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getCallBarringResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:CallBarrings"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createDepartment">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createDepartmentResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:DepartmentBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateDepartment">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateDepartmentResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:DepartmentBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getDepartment">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="length" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getDepartmentResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:Departments"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createDialPrefix">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="useEnum" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="trunkAddress" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="isDefaultDialPrefix" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="createDialPrefixResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:DialPrefixBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateDialPrefix">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="selectedName" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="name" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="prefix" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="useEnum" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="gateway" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="trunkAddress" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="isDefaultDialPrefix" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="updateDialPrefixResponse">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax27:DialPrefixBean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
         <xs:element name="getDialPrefix">
         <xs:complexType>
         <xs:sequence>
    <xs:element minOccurs="0" name="offset" nillable="true"

    Have you generated the WSDL using AXIS2 itself.
    I faced the problem of prasing wsdl as it was created using axis1.4.But used further by axis2.Axis is based on completely new framework of xsd and databinding.
    So u need to used AXIS2 only to generate WSDL.(java2wsdl from axis2 bin)

  • AXIS: WSDL2Java generated javabean is different

    I have a javabean in the following format:
    public MyBean{
    private String name ;
    public MyBean(){
    public MyBean(String name){
    this.name = name ;
    public String getName(){
    return name ;
    public void setName(String name){
    this.name = name ;
    This bean is used by my axis service. It can be created by the server and sent as a return type to my service call and used fine by the client.
    I then decided to write a service that took this bean type as an input parameter. Ran Java2WSDL to generate the WSDL, then ran WSDL2Java to get the required client side code. I wrote the client and the compile failed when I attempted to use the argument based constructor. Looking at the generated code I noticed that the generated class for the bean didn't have such a constructor and only had the default constructor.
    I know that the bean must have a default constructor to satisfy the requirements for a javabean, but I don't know why the other constructor is missing from the generated code.
    Is this a bug or because an argument based constructor isn't allowed in a javabean?
    Thanks in advance
    Chris

    Hello Chris,
    I am also facing the same problem. The Javabean constructed after I ran my <axis-wsdl2java> is different. In my javabean I have a multi-argument constructor apart from the default constructor, and every time I generated the java bindings, the order in the multi-argument constructor changes.
    How to fix this problem of constantly changing the constructor. I need to use this multi-argument constructor in my other Java classes.
    Anybody please let us know how to ensure that the constructors generated by the <axis-wsdl2java> task will be constant all the time with one-to-one matching of the javabean I provide.
    Regards
    Shekar

  • Java2wsdl raised java.lang.ClassNotFoundException

    Hi,
    I have a problem when using java2wsdl:
    D:\Development_Program\Tomcat 5.5.0\webapps\axis\WEB-INF\classes\org\dmp\idp_2\device\CPD\WebService
    \Protocol\AccessContentAsFile>java -classpath %axis_path% org.apache.axis.wsdl.Java2WSDL -o test.wsd
    l -l "http://localhost:8081/axis/services/AccessContentAsFileService" -n "urn:_10:_2006:ProtocolServ
    ice.AccessContentAsFile.idp3.dmp" _10._2006.ProtocolService.AccessContentAsFile.idp3.dmp.AccessConte
    ntAsFileService_PortType
    java.lang.ClassNotFoundException: _10._2006.ProtocolService.AccessContentAsFile.idp3.dmp.AccessConte
    ntAsFileService_PortType
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
    at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
    at org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:2079)
    at org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:584)
    at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:682)
    actually, under the folder AccessContentAsFile, I just generated the java files using wsdl2java. It generated all necessary classes as the package route. Have you encounter this issue before? How can I do?
    Thanks!!

    I launch my command from the WSDL Directory.
    My Directories Tree looks like this:
    WSDL
       |
       |
       sbmlSolver
                |
                |
                ProcessCatalog.java
                ProcessCatalog.class
                         ...So I setted the Classpath with -cp ./sbmlSolver

  • Using WSDL2java to generate proxy from wsdl

    HI,
    I have a web service (implemented in .NET) which extends soap headers for doing
    Authentication. WSDL is generated out of this web service. But when i use wsdl2java
    (J2EE) to generate a proxy class, there is no interface generated for soap headers.
    Without extending SOAP headers the web service works fine.
    Basically, I'm looking for a way to generate java interfaces (ie. proxies) for
    SOAP headers out of the WSDL file.
    PFA the WSDL file and the proxy
    Any help on this is appreciated.
    [WSOClient.zip]

    I am not sure why it fails in WebSphere. Please try posting
    this question to a WebSphere newsgroup.
    Regards,
    -manoj
    http://manojc.com
    "viswanath" <[email protected]> wrote in message
    news:40aee7fa$1@mktnews1...
    >
    thanks manoj for your reply.
    I'm using IBM WebSphere SDK for Web Services v5.1
    for generation of java client.
    I'm able to generate the client but the problem is
    the WSDl2Java command ignored the SOAPHeaders while
    generating the proxy. Since I'm using SOAP headers for
    authentication the code fails.
    Thanks,
    Viswanath
    "manoj cheenath" <[email protected]> wrote:
    I am not sure which tool you are using
    to generate web service clent. To generate
    a WLS web service client you have to use clientgen.
    Details here:
    http://e-docs.bea.com/wls/docs81/webserv/anttasks.html
    Regards,
    -manoj
    http://manojc.com
    "viswanath" <[email protected]> wrote in message
    news:40ad8a07$[email protected]..
    HI,
    I have a web service (implemented in .NET) which extends soap headersfor
    doing
    Authentication. WSDL is generated out of this web service. But wheni use
    wsdl2java
    (J2EE) to generate a proxy class, there is no interface generated forsoap
    headers.
    Without extending SOAP headers the web service works fine.
    Basically, I'm looking for a way to generate java interfaces (ie.
    proxies)
    for
    SOAP headers out of the WSDL file.
    PFA the WSDL file and the proxy
    Any help on this is appreciated.

  • File not found error while trying to generate stub using wsdl2java

    Hi
    I am facing this peculiar problem while generating the stub thru the wsdl2java command.
    It shows series of file not found exception.
    What all thing need to be set or taken care while we execute the command . anybody having window script for doing this please share it with me.
    Your help is higly appreciated
    Thanks
    Ottran

    It could be that the wsdl file is not found if you are invoking this command for a wsdl which is locally existing
    Could you send the command and the exception msgs that you are getting
    Regards
    Mari

  • Weblogic 9.2 and axis-wsdl2java issue

    Hi
    I have been using axis-wsdl2java task to generate stub classes to access a websevice from another server.I could get the response successfully with WL 8.1.
    But I am using the same generated classes (infact I generated it using new weblogic.jar of WL9.2)
    The classes got generated .
    But when I used it in my application I was not getting the required response from the external webservice.
    Is the generated classes from axis-wsdl2java will not work with WL9.2 ?
    Please let me know your thoughts
    Thanks,
    Binu

    I tried a workaround to solve this issue by putting the xalan.jar from ant lib folder in class path.
    Now I am able to use the same generated classes to invoke webservice

  • WSDL2JAVA tool Use

    I am trying to set up a web service that submits a complex
    data type. I have tried unsuccessfully to build nested
    structures/arrays to submit the complex data types for the web
    service and now want to use the WSDL2Java tool... I am running
    coldFusion MX. What are the steps in using WSDL2Java? Thanks for
    the help.

    the wsdl to java will generate stub java classes which you
    could use to populate complex types IF you were using java. i don't
    think instantiating those types using CreateObject(java) and
    invoking a service using cfinvoke or CreateObject(webservice) will
    work as CF requires structs to pass as complex types. this seems
    like a poor design decision to me.
    if you're using dreamweaver, it has a decent struct generator
    for web service types, but it's usefulness is limited with nested
    structures.
    if anyone knows any differently, please respond, as i am
    having the very same issue.

  • Issues connecting to service (WSDL2Java)

    Hello,
    I am trying to connect from ColdFusion 8 to a web service. I first attempted to use the standard createObject/cfinvoke approach using the WSDL of the service, but not all of the code produced by WSDL2Java would compile. For example, some of the code was interchanging primitive int/double values with java.lang.Integer/java.lang.Double reference types. After seaching on this forum and elsewhere for any "solutions", I decided to just patch and then compile the produced code manually, wrap it in a .jar, and put it in my ColdFusion lib directory so that I could access the Java classes directly from CF. I was able to successfully get the .jar loaded in, and can access the classes, but I'm wondering,  is any way to fix the WSDL2Java mechanism CF is using so that it won't produce these code errors? It might be nice to be able to use the createObject/cfinvoke interface...
    I am not sure if it matters, but this web service is running on .NET.
    Thanks

    I am also having this issue. I went to verizon and got a new SIM card and that worked for a few hours. I then called apple and after restoring my phone without using a backup it still did it.
    Apple has since replaced my phone, and after a day or so it still does it. I'm convinced it is an issue with the hardware or software and not related to verizon. I have a few friends and colleagues that are have the same issue on Verizon's LTE network.
    I have another LFE phone (droid) and it has no issues.
    Also it only seems to be any app or service that uses upload. If I go to speedtest.net app I get fast download but no upload.
    Rebooting the phone or resetting network settings makes it work for a short while but it comes back.
    C'mon Apple, I know you get lots of calls about this!

Maybe you are looking for

  • Multiple Issues with HTC 8X and Verizon Doesn't Care

    I have had this phone for three months and had this issue the whole time.  Searched Verizon and Windows forums and found the same thing.  Only Verizon HTC 8X having this issue.  On top of that I am now having hardware issues.  Phone SIM not showing u

  • The Server responded with an error...did not recognize your user name etc

    On one of my Macs, I am constantly getting this message and iCal will not sync. I have signed out of .Me and back in again. I know I am signing in correctly, but this will not go away. I could do with some suggestions please - very much appreciated.

  • Remove "Send As" Permisson

    We want to remove the ablility to 'Send As' from all shared mailboxes, only allowing 'send on behalf of'.  Granting a user full mailbox rights and 'send of behalf of' permissions will grant 'send as' if the user creates an Outlook profile for that ma

  • Message Monitoring - Shows Number of Messages but no Messages or Data

    Hello All, We are facing an issue in Message Monitoring. When we see the Message Monitoring (Database Overview) for the Adapter Engine. It shows the number of Messages that were Successful, but if we click the Successful  messages it shows "0 Message

  • Setting up user preferences in web analysis

    From an admin perspective does anybody know how to setup preferences for a user/group in WA? I want to establish the users prefs, not them. Ideally, I would like to setup a group/shared preference and then put users in that group/share and have the u