6 Replies Latest reply: Sep 17, 2009 12:24 AM by 807581 RSS

    wscompile not generating SerializerRegistry stub using .NET webservice WSDL

    807581
      Hello,

      I'm new to webservices and Java itself. I've a got .NET Webservice application from which I'm trying to create Java stubs using the WSCOMPILE tool. It creates everything but the SerializerRegistry.Java file. I'm getting a < ignoring port "LEV_SageFuncsSoap12": no SOAP address specified > error (detailed below).

      PLEASE HELP!

      My wscompile versions is:

      C:\Leverage\development\FCETest2\LG_LEV_FCE\nbproject>c:\Sun\jwsdp-2.0\\jaxrpc\b
      in\wscompile -version
      JAX-RPC Standard Implementation (1.1.3, build R1)

      My wscompile command was:

      C:\Leverage\development\FCETest2\LG_LEV_FCE\nbproject>c:\Sun\jwsdp-2.0\\jaxrpc\b
      in\wscompile -gen -d C:\Leverage\development\FCETest2\LG_LEV_FCE\build\classes -
      s C:\Leverage\development\FCETest2\LG_LEV_FCE\src -keep LGWS-config.xml -verbose

      warning: ignoring port "LEV_SageFuncsSoap12": no SOAP address specifiedjava.lang
      .reflect.InvocationTargetException
      [ServiceInterfaceGenerator: creating service interface: lg_lev_wo_fce.LG_LEV_WS.
      LEV_SageFuncs]
      [ServiceGenerator: creating service: lg_lev_wo_fce.LG_LEV_WS.LEV_SageFuncs_Impl]

      [CustomClassGenerator: generating JavaClass for: LastErrMsg]
      [CustomClassGenerator: generating JavaClass for: LastErrMsgResponse]
      [CustomClassGenerator: generating JavaClass for: GetSystemKeyAndIncrement]
      [CustomClassGenerator: generating JavaClass for: GetSystemKeyAndIncrementRespons
      e]
      [CustomClassGenerator: generating JavaClass for: getActiveSites]
      [CustomClassGenerator: generating JavaClass for: getActiveSitesResponse]
      [CustomClassGenerator: generating JavaClass for: ArrayOfSiteResultRow]
      [CustomClassGenerator: generating JavaClass for: SiteResultRow]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: LastErr
      Msg]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: LastErr
      MsgResponse]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: GetSyst
      emKeyAndIncrement]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: GetSyst
      emKeyAndIncrementResponse]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: getActi
      veSites]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: SiteRes
      ultRow]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: ArrayOf
      SiteResultRow]
      [LiteralObjectSerializerGenerator: writing  serializer/deserializer for: getActi
      veSitesResponse]
      [SerializerRegistryGenerator: creating serializer registry: lg_lev_wo_fce.LG_LEV
      _WS.LEV_SageFuncs_SerializerRegistry]

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
      Caused by: java.lang.NoClassDefFoundError: javax/mail/internet/MimeMultipart
      at com.sun.xml.rpc.encoding.soap.StandardSOAPTypeMappings.<init>(Standar
      dSOAPTypeMappings.java:910)
      at com.sun.xml.rpc.encoding.StandardTypeMappings.getSoap(StandardTypeMap
      pings.java:32)
      at com.sun.xml.rpc.client.BasicService.createSoapMappings(BasicService.j
      ava:230)
      at com.sun.xml.rpc.client.BasicService.createStandardTypeMappingRegistry
      (BasicService.java:202)
      at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.write
      GetRegistry(SerializerRegistryGenerator.java:468)
      at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.gener
      ateSerializerRegistry(SerializerRegistryGenerator.java:347)
      at com.sun.xml.rpc.processor.generator.SerializerRegistryGenerator.postV
      isitService(SerializerRegistryGenerator.java:159)
      at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase
      .java:221)
      at com.sun.xml.rpc.processor.model.Service.accept(Service.java:102)
      at com.sun.xml.rpc.processor.generator.GeneratorBase.visitModel(Generato
      rBase.java:211)
      at com.sun.xml.rpc.processor.generator.GeneratorBase.visit(GeneratorBase
      .java:199)
      at com.sun.xml.rpc.processor.model.Model.accept(Model.java:139)
      at com.sun.xml.rpc.processor.generator.GeneratorBase.doGeneration(Genera
      torBase.java:188)
      at com.sun.xml.rpc.processor.generator.GeneratorBase.perform(GeneratorBa
      se.java:133)
      at com.sun.xml.rpc.processor.Processor.runActions(Processor.java:88)
      at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:739)

      at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
      at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
      ... 5 more
      Caused by: java.lang.ClassNotFoundException: javax.mail.internet.MimeMultipart
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      ... 23 more
        • 1. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
          807581
          Hello again:

          And finally my WSDL file is :

          <?xml version="1.0" encoding="utf-8" ?>
          - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://LEV_SageFuncs.webservice" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://LEV_SageFuncs.webservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
          - <wsdl:types>
          - <s:schema elementFormDefault="qualified" targetNamespace="http://LEV_SageFuncs.webservice">
          - <s:element name="LastErrMsg">
          <s:complexType />
          </s:element>
          - <s:element name="LastErrMsgResponse">
          - <s:complexType>
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="LastErrMsgResult" type="s:string" />
          </s:sequence>
          </s:complexType>
          </s:element>
          - <s:element name="GetSystemKeyAndIncrement">
          - <s:complexType>
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="system_key" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="writeback" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
          </s:sequence>
          </s:complexType>
          </s:element>
          - <s:element name="GetSystemKeyAndIncrementResponse">
          - <s:complexType>
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="GetSystemKeyAndIncrementResult" type="s:string" />
          </s:sequence>
          </s:complexType>
          </s:element>
          - <s:element name="getActiveSites">
          - <s:complexType>
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
          </s:sequence>
          </s:complexType>
          </s:element>
          - <s:element name="getActiveSitesResponse">
          - <s:complexType>
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="getActiveSitesResult" type="tns:ArrayOfSiteResultRow" />
          </s:sequence>
          </s:complexType>
          </s:element>
          - <s:complexType name="ArrayOfSiteResultRow">
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="SiteResultRow" nillable="true" type="tns:SiteResultRow" />
          </s:sequence>
          </s:complexType>
          - <s:complexType name="SiteResultRow">
          - <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="site_id" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="site_desc" type="s:string" />
          </s:sequence>
          </s:complexType>
          </s:schema>
          </wsdl:types>
          - <wsdl:message name="LastErrMsgSoapIn">
          <wsdl:part name="parameters" element="tns:LastErrMsg" />
          </wsdl:message>
          - <wsdl:message name="LastErrMsgSoapOut">
          <wsdl:part name="parameters" element="tns:LastErrMsgResponse" />
          </wsdl:message>
          - <wsdl:message name="GetSystemKeyAndIncrementSoapIn">
          <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrement" />
          </wsdl:message>
          - <wsdl:message name="GetSystemKeyAndIncrementSoapOut">
          <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrementResponse" />
          </wsdl:message>
          - <wsdl:message name="getActiveSitesSoapIn">
          <wsdl:part name="parameters" element="tns:getActiveSites" />
          </wsdl:message>
          - <wsdl:message name="getActiveSitesSoapOut">
          <wsdl:part name="parameters" element="tns:getActiveSitesResponse" />
          </wsdl:message>
          - <wsdl:portType name="LEV_SageFuncsSoap">
          - <wsdl:operation name="LastErrMsg">
          <wsdl:input message="tns:LastErrMsgSoapIn" />
          <wsdl:output message="tns:LastErrMsgSoapOut" />
          </wsdl:operation>
          - <wsdl:operation name="GetSystemKeyAndIncrement">
          <wsdl:input message="tns:GetSystemKeyAndIncrementSoapIn" />
          <wsdl:output message="tns:GetSystemKeyAndIncrementSoapOut" />
          </wsdl:operation>
          - <wsdl:operation name="getActiveSites">
          <wsdl:input message="tns:getActiveSitesSoapIn" />
          <wsdl:output message="tns:getActiveSitesSoapOut" />
          </wsdl:operation>
          </wsdl:portType>
          - <wsdl:binding name="LEV_SageFuncsSoap" type="tns:LEV_SageFuncsSoap">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
          - <wsdl:operation name="LastErrMsg">
          <soap:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
          - <wsdl:input>
          <soap:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          - <wsdl:operation name="GetSystemKeyAndIncrement">
          <soap:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
          - <wsdl:input>
          <soap:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          - <wsdl:operation name="getActiveSites">
          <soap:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
          - <wsdl:input>
          <soap:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          </wsdl:binding>
          - <wsdl:binding name="LEV_SageFuncsSoap12" type="tns:LEV_SageFuncsSoap">
          <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
          - <wsdl:operation name="LastErrMsg">
          <soap12:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
          - <wsdl:input>
          <soap12:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap12:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          - <wsdl:operation name="GetSystemKeyAndIncrement">
          <soap12:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
          - <wsdl:input>
          <soap12:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap12:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          - <wsdl:operation name="getActiveSites">
          <soap12:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
          - <wsdl:input>
          <soap12:body use="literal" />
          </wsdl:input>
          - <wsdl:output>
          <soap12:body use="literal" />
          </wsdl:output>
          </wsdl:operation>
          </wsdl:binding>
          - <wsdl:service name="LEV_SageFuncs">
          - <wsdl:port name="LEV_SageFuncsSoap" binding="tns:LEV_SageFuncsSoap">
          <soap:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
          </wsdl:port>
          - <wsdl:port name="LEV_SageFuncsSoap12" binding="tns:LEV_SageFuncsSoap12">
          <soap12:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
          </wsdl:port>
          </wsdl:service>
          </wsdl:definitions>
          • 2. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
            807581
            Hello again:

            And finally my WSDL file is :

            <?xml version="1.0" encoding="utf-8" ?>
            - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://LEV_SageFuncs.webservice" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://LEV_SageFuncs.webservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
            - <wsdl:types>
            - <s:schema elementFormDefault="qualified" targetNamespace="http://LEV_SageFuncs.webservice">
            - <s:element name="LastErrMsg">
            <s:complexType />
            </s:element>
            - <s:element name="LastErrMsgResponse">
            - <s:complexType>
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="LastErrMsgResult" type="s:string" />
            </s:sequence>
            </s:complexType>
            </s:element>
            - <s:element name="GetSystemKeyAndIncrement">
            - <s:complexType>
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="system_key" type="s:string" />
            <s:element minOccurs="1" maxOccurs="1" name="writeback" type="s:boolean" />
            <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
            </s:sequence>
            </s:complexType>
            </s:element>
            - <s:element name="GetSystemKeyAndIncrementResponse">
            - <s:complexType>
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetSystemKeyAndIncrementResult" type="s:string" />
            </s:sequence>
            </s:complexType>
            </s:element>
            - <s:element name="getActiveSites">
            - <s:complexType>
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
            </s:sequence>
            </s:complexType>
            </s:element>
            - <s:element name="getActiveSitesResponse">
            - <s:complexType>
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="getActiveSitesResult" type="tns:ArrayOfSiteResultRow" />
            </s:sequence>
            </s:complexType>
            </s:element>
            - <s:complexType name="ArrayOfSiteResultRow">
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="unbounded" name="SiteResultRow" nillable="true" type="tns:SiteResultRow" />
            </s:sequence>
            </s:complexType>
            - <s:complexType name="SiteResultRow">
            - <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="site_id" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="site_desc" type="s:string" />
            </s:sequence>
            </s:complexType>
            </s:schema>
            </wsdl:types>
            - <wsdl:message name="LastErrMsgSoapIn">
            <wsdl:part name="parameters" element="tns:LastErrMsg" />
            </wsdl:message>
            - <wsdl:message name="LastErrMsgSoapOut">
            <wsdl:part name="parameters" element="tns:LastErrMsgResponse" />
            </wsdl:message>
            - <wsdl:message name="GetSystemKeyAndIncrementSoapIn">
            <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrement" />
            </wsdl:message>
            - <wsdl:message name="GetSystemKeyAndIncrementSoapOut">
            <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrementResponse" />
            </wsdl:message>
            - <wsdl:message name="getActiveSitesSoapIn">
            <wsdl:part name="parameters" element="tns:getActiveSites" />
            </wsdl:message>
            - <wsdl:message name="getActiveSitesSoapOut">
            <wsdl:part name="parameters" element="tns:getActiveSitesResponse" />
            </wsdl:message>
            - <wsdl:portType name="LEV_SageFuncsSoap">
            - <wsdl:operation name="LastErrMsg">
            <wsdl:input message="tns:LastErrMsgSoapIn" />
            <wsdl:output message="tns:LastErrMsgSoapOut" />
            </wsdl:operation>
            - <wsdl:operation name="GetSystemKeyAndIncrement">
            <wsdl:input message="tns:GetSystemKeyAndIncrementSoapIn" />
            <wsdl:output message="tns:GetSystemKeyAndIncrementSoapOut" />
            </wsdl:operation>
            - <wsdl:operation name="getActiveSites">
            <wsdl:input message="tns:getActiveSitesSoapIn" />
            <wsdl:output message="tns:getActiveSitesSoapOut" />
            </wsdl:operation>
            </wsdl:portType>
            - <wsdl:binding name="LEV_SageFuncsSoap" type="tns:LEV_SageFuncsSoap">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
            - <wsdl:operation name="LastErrMsg">
            <soap:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
            - <wsdl:input>
            <soap:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            - <wsdl:operation name="GetSystemKeyAndIncrement">
            <soap:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
            - <wsdl:input>
            <soap:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            - <wsdl:operation name="getActiveSites">
            <soap:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
            - <wsdl:input>
            <soap:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            </wsdl:binding>
            - <wsdl:binding name="LEV_SageFuncsSoap12" type="tns:LEV_SageFuncsSoap">
            <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
            - <wsdl:operation name="LastErrMsg">
            <soap12:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
            - <wsdl:input>
            <soap12:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap12:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            - <wsdl:operation name="GetSystemKeyAndIncrement">
            <soap12:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
            - <wsdl:input>
            <soap12:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap12:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            - <wsdl:operation name="getActiveSites">
            <soap12:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
            - <wsdl:input>
            <soap12:body use="literal" />
            </wsdl:input>
            - <wsdl:output>
            <soap12:body use="literal" />
            </wsdl:output>
            </wsdl:operation>
            </wsdl:binding>
            - <wsdl:service name="LEV_SageFuncs">
            - <wsdl:port name="LEV_SageFuncsSoap" binding="tns:LEV_SageFuncsSoap">
            <soap:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
            </wsdl:port>
            - <wsdl:port name="LEV_SageFuncsSoap12" binding="tns:LEV_SageFuncsSoap12">
            <soap12:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
            </wsdl:port>
            </wsdl:service>
            </wsdl:definitions>
            • 3. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
              807581
              And finally my WSDL file is :

              <?xml version="1.0" encoding="utf-8" ?>
              - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://LEV_SageFuncs.webservice" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://LEV_SageFuncs.webservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
              - <wsdl:types>
              - <s:schema elementFormDefault="qualified" targetNamespace="http://LEV_SageFuncs.webservice">
              - <s:element name="LastErrMsg">
              <s:complexType />
              </s:element>
              - <s:element name="LastErrMsgResponse">
              - <s:complexType>
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="LastErrMsgResult" type="s:string" />
              </s:sequence>
              </s:complexType>
              </s:element>
              - <s:element name="GetSystemKeyAndIncrement">
              - <s:complexType>
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="system_key" type="s:string" />
              <s:element minOccurs="1" maxOccurs="1" name="writeback" type="s:boolean" />
              <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
              </s:sequence>
              </s:complexType>
              </s:element>
              - <s:element name="GetSystemKeyAndIncrementResponse">
              - <s:complexType>
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="GetSystemKeyAndIncrementResult" type="s:string" />
              </s:sequence>
              </s:complexType>
              </s:element>
              - <s:element name="getActiveSites">
              - <s:complexType>
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
              </s:sequence>
              </s:complexType>
              </s:element>
              - <s:element name="getActiveSitesResponse">
              - <s:complexType>
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="getActiveSitesResult" type="tns:ArrayOfSiteResultRow" />
              </s:sequence>
              </s:complexType>
              </s:element>
              - <s:complexType name="ArrayOfSiteResultRow">
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="unbounded" name="SiteResultRow" nillable="true" type="tns:SiteResultRow" />
              </s:sequence>
              </s:complexType>
              - <s:complexType name="SiteResultRow">
              - <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="site_id" type="s:string" />
              <s:element minOccurs="0" maxOccurs="1" name="site_desc" type="s:string" />
              </s:sequence>
              </s:complexType>
              </s:schema>
              </wsdl:types>
              - <wsdl:message name="LastErrMsgSoapIn">
              <wsdl:part name="parameters" element="tns:LastErrMsg" />
              </wsdl:message>
              - <wsdl:message name="LastErrMsgSoapOut">
              <wsdl:part name="parameters" element="tns:LastErrMsgResponse" />
              </wsdl:message>
              - <wsdl:message name="GetSystemKeyAndIncrementSoapIn">
              <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrement" />
              </wsdl:message>
              - <wsdl:message name="GetSystemKeyAndIncrementSoapOut">
              <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrementResponse" />
              </wsdl:message>
              - <wsdl:message name="getActiveSitesSoapIn">
              <wsdl:part name="parameters" element="tns:getActiveSites" />
              </wsdl:message>
              - <wsdl:message name="getActiveSitesSoapOut">
              <wsdl:part name="parameters" element="tns:getActiveSitesResponse" />
              </wsdl:message>
              - <wsdl:portType name="LEV_SageFuncsSoap">
              - <wsdl:operation name="LastErrMsg">
              <wsdl:input message="tns:LastErrMsgSoapIn" />
              <wsdl:output message="tns:LastErrMsgSoapOut" />
              </wsdl:operation>
              - <wsdl:operation name="GetSystemKeyAndIncrement">
              <wsdl:input message="tns:GetSystemKeyAndIncrementSoapIn" />
              <wsdl:output message="tns:GetSystemKeyAndIncrementSoapOut" />
              </wsdl:operation>
              - <wsdl:operation name="getActiveSites">
              <wsdl:input message="tns:getActiveSitesSoapIn" />
              <wsdl:output message="tns:getActiveSitesSoapOut" />
              </wsdl:operation>
              </wsdl:portType>
              - <wsdl:binding name="LEV_SageFuncsSoap" type="tns:LEV_SageFuncsSoap">
              <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
              - <wsdl:operation name="LastErrMsg">
              <soap:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
              - <wsdl:input>
              <soap:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              - <wsdl:operation name="GetSystemKeyAndIncrement">
              <soap:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
              - <wsdl:input>
              <soap:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              - <wsdl:operation name="getActiveSites">
              <soap:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
              - <wsdl:input>
              <soap:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              </wsdl:binding>
              - <wsdl:binding name="LEV_SageFuncsSoap12" type="tns:LEV_SageFuncsSoap">
              <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
              - <wsdl:operation name="LastErrMsg">
              <soap12:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
              - <wsdl:input>
              <soap12:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap12:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              - <wsdl:operation name="GetSystemKeyAndIncrement">
              <soap12:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
              - <wsdl:input>
              <soap12:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap12:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              - <wsdl:operation name="getActiveSites">
              <soap12:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
              - <wsdl:input>
              <soap12:body use="literal" />
              </wsdl:input>
              - <wsdl:output>
              <soap12:body use="literal" />
              </wsdl:output>
              </wsdl:operation>
              </wsdl:binding>
              - <wsdl:service name="LEV_SageFuncs">
              - <wsdl:port name="LEV_SageFuncsSoap" binding="tns:LEV_SageFuncsSoap">
              <soap:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
              </wsdl:port>
              - <wsdl:port name="LEV_SageFuncsSoap12" binding="tns:LEV_SageFuncsSoap12">
              <soap12:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
              </wsdl:port>
              </wsdl:service>
              </wsdl:definitions>
              • 4. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
                807581
                And finally my WSDL file is :

                <?xml version="1.0" encoding="utf-8" ?>
                - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://LEV_SageFuncs.webservice" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://LEV_SageFuncs.webservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                - <wsdl:types>
                - <s:schema elementFormDefault="qualified" targetNamespace="http://LEV_SageFuncs.webservice">
                - <s:element name="LastErrMsg">
                <s:complexType />
                </s:element>
                - <s:element name="LastErrMsgResponse">
                - <s:complexType>
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="LastErrMsgResult" type="s:string" />
                </s:sequence>
                </s:complexType>
                </s:element>
                - <s:element name="GetSystemKeyAndIncrement">
                - <s:complexType>
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="system_key" type="s:string" />
                <s:element minOccurs="1" maxOccurs="1" name="writeback" type="s:boolean" />
                <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
                </s:sequence>
                </s:complexType>
                </s:element>
                - <s:element name="GetSystemKeyAndIncrementResponse">
                - <s:complexType>
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetSystemKeyAndIncrementResult" type="s:string" />
                </s:sequence>
                </s:complexType>
                </s:element>
                - <s:element name="getActiveSites">
                - <s:complexType>
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
                </s:sequence>
                </s:complexType>
                </s:element>
                - <s:element name="getActiveSitesResponse">
                - <s:complexType>
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="getActiveSitesResult" type="tns:ArrayOfSiteResultRow" />
                </s:sequence>
                </s:complexType>
                </s:element>
                - <s:complexType name="ArrayOfSiteResultRow">
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="unbounded" name="SiteResultRow" nillable="true" type="tns:SiteResultRow" />
                </s:sequence>
                </s:complexType>
                - <s:complexType name="SiteResultRow">
                - <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="site_id" type="s:string" />
                <s:element minOccurs="0" maxOccurs="1" name="site_desc" type="s:string" />
                </s:sequence>
                </s:complexType>
                </s:schema>
                </wsdl:types>
                - <wsdl:message name="LastErrMsgSoapIn">
                <wsdl:part name="parameters" element="tns:LastErrMsg" />
                </wsdl:message>
                - <wsdl:message name="LastErrMsgSoapOut">
                <wsdl:part name="parameters" element="tns:LastErrMsgResponse" />
                </wsdl:message>
                - <wsdl:message name="GetSystemKeyAndIncrementSoapIn">
                <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrement" />
                </wsdl:message>
                - <wsdl:message name="GetSystemKeyAndIncrementSoapOut">
                <wsdl:part name="parameters" element="tns:GetSystemKeyAndIncrementResponse" />
                </wsdl:message>
                - <wsdl:message name="getActiveSitesSoapIn">
                <wsdl:part name="parameters" element="tns:getActiveSites" />
                </wsdl:message>
                - <wsdl:message name="getActiveSitesSoapOut">
                <wsdl:part name="parameters" element="tns:getActiveSitesResponse" />
                </wsdl:message>
                - <wsdl:portType name="LEV_SageFuncsSoap">
                - <wsdl:operation name="LastErrMsg">
                <wsdl:input message="tns:LastErrMsgSoapIn" />
                <wsdl:output message="tns:LastErrMsgSoapOut" />
                </wsdl:operation>
                - <wsdl:operation name="GetSystemKeyAndIncrement">
                <wsdl:input message="tns:GetSystemKeyAndIncrementSoapIn" />
                <wsdl:output message="tns:GetSystemKeyAndIncrementSoapOut" />
                </wsdl:operation>
                - <wsdl:operation name="getActiveSites">
                <wsdl:input message="tns:getActiveSitesSoapIn" />
                <wsdl:output message="tns:getActiveSitesSoapOut" />
                </wsdl:operation>
                </wsdl:portType>
                - <wsdl:binding name="LEV_SageFuncsSoap" type="tns:LEV_SageFuncsSoap">
                <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
                - <wsdl:operation name="LastErrMsg">
                <soap:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
                - <wsdl:input>
                <soap:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                - <wsdl:operation name="GetSystemKeyAndIncrement">
                <soap:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
                - <wsdl:input>
                <soap:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                - <wsdl:operation name="getActiveSites">
                <soap:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
                - <wsdl:input>
                <soap:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                </wsdl:binding>
                - <wsdl:binding name="LEV_SageFuncsSoap12" type="tns:LEV_SageFuncsSoap">
                <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
                - <wsdl:operation name="LastErrMsg">
                <soap12:operation soapAction="http://LEV_SageFuncs.webservice/LastErrMsg" style="document" />
                - <wsdl:input>
                <soap12:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap12:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                - <wsdl:operation name="GetSystemKeyAndIncrement">
                <soap12:operation soapAction="http://LEV_SageFuncs.webservice/GetSystemKeyAndIncrement" style="document" />
                - <wsdl:input>
                <soap12:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap12:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                - <wsdl:operation name="getActiveSites">
                <soap12:operation soapAction="http://LEV_SageFuncs.webservice/getActiveSites" style="document" />
                - <wsdl:input>
                <soap12:body use="literal" />
                </wsdl:input>
                - <wsdl:output>
                <soap12:body use="literal" />
                </wsdl:output>
                </wsdl:operation>
                </wsdl:binding>
                - <wsdl:service name="LEV_SageFuncs">
                - <wsdl:port name="LEV_SageFuncsSoap" binding="tns:LEV_SageFuncsSoap">
                <soap:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
                </wsdl:port>
                - <wsdl:port name="LEV_SageFuncsSoap12" binding="tns:LEV_SageFuncsSoap12">
                <soap12:address location="http://localhost/webclient/components/LG_LEV_WS/LEV_SageFuncs.asmx" />
                </wsdl:port>
                </wsdl:service>
                </wsdl:definitions>
                • 5. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
                  807581
                  And finally my WSDL file is (PART 1):

                  <?xml version="1.0" encoding="utf-8" ?>
                  - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://LEV_SageFuncs.webservice" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://LEV_SageFuncs.webservice" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                  - <wsdl:types>
                  - <s:schema elementFormDefault="qualified" targetNamespace="http://LEV_SageFuncs.webservice">
                  - <s:element name="LastErrMsg">
                  <s:complexType />
                  </s:element>
                  - <s:element name="LastErrMsgResponse">
                  - <s:complexType>
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="LastErrMsgResult" type="s:string" />
                  </s:sequence>
                  </s:complexType>
                  </s:element>
                  - <s:element name="GetSystemKeyAndIncrement">
                  - <s:complexType>
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="system_key" type="s:string" />
                  <s:element minOccurs="1" maxOccurs="1" name="writeback" type="s:boolean" />
                  <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
                  </s:sequence>
                  </s:complexType>
                  </s:element>
                  - <s:element name="GetSystemKeyAndIncrementResponse">
                  - <s:complexType>
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="GetSystemKeyAndIncrementResult" type="s:string" />
                  </s:sequence>
                  </s:complexType>
                  </s:element>
                  - <s:element name="getActiveSites">
                  - <s:complexType>
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="companyDB" type="s:string" />
                  </s:sequence>
                  </s:complexType>
                  </s:element>
                  - <s:element name="getActiveSitesResponse">
                  - <s:complexType>
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="getActiveSitesResult" type="tns:ArrayOfSiteResultRow" />
                  </s:sequence>
                  </s:complexType>
                  </s:element>
                  - <s:complexType name="ArrayOfSiteResultRow">
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="unbounded" name="SiteResultRow" nillable="true" type="tns:SiteResultRow" />
                  </s:sequence>
                  </s:complexType>
                  - <s:complexType name="SiteResultRow">
                  - <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="site_id" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="site_desc" type="s:string" />
                  </s:sequence>
                  </s:complexType>
                  </s:schema>
                  </wsdl:types>
                  • 6. Re: wscompile not generating SerializerRegistry stub using .NET webservice WSDL
                    807581
                    sorry about the multiple posts for the wsdl. I was getting a thread error and didn't realise that it was still posting the message.