empty element type w/.NET & java

From: Alex <>
Date: Tue, 14 Sep 2004 08:43:28 -0400 (EDT)

hi folks. i've been trolling google the past few days and i've found one
person who's had the same problem, but haven't found a solution.

I'm not using axis...Any help would be greatly appreciated.

[ERROR] Save Facility Type: java.rmi.RemoteException: Runtime exception;
nested exception is: unexpected element type: expected=, actual=FacilityType

The wsdl i'm pulling from has been generated with .NET and it's an .asmx

I run wscompile against the target, tried many many different options and
get the message above. Everything that needs to happen on the .NET side
does throws the exception once the return method is called on
the webservice end...


-g -gen:client -Xserializable -f:explicitcontext -f:searchschema
-f:serializeinterfaces -d ${source.dir} -nd ${webinf.dir} -keep
-classpath ${build.classes} ${client.static.config.file}

the wsdl (trimmed down):

<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:http=""

<s:schema elementFormDefault="qualified" targetNamespace="">
      <s:element name="Save">
            <s:element minOccurs="0" maxOccurs="1" name="coreType" type="s0:CoreType" />
      <s:complexType name="CoreType" abstract="true">
          <s:element minOccurs="1" maxOccurs="1" name="UpdateDate" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="ExistsInDb" type="s:boolean" />
  <message name="SaveSoapIn">
    <part name="parameters" element="s0:Save" />
  <message name="SaveSoapOut">
    <part name="parameters" element="s0:SaveResponse" />
  <message name="SaveContextInformation">
    <part name="ContextInformation" element="s0:ContextInformation" />

  <portType name="WebServiceSoap">
    <operation name="Save">
      <input message="s0:SaveSoapIn" />
      <output message="s0:SaveSoapOut" />

  <binding name="WebServiceSoap" type="s0:ConfigurationManagementWebServiceSoap">
    <soap:binding transport="" style="document" />

    <operation name="Load">
      <soap:operation soapAction="" style="document" />
        <soap:body use="literal" />
        <soap:header message="s0:LoadContextInformation" part="ContextInformation" use="literal" />
        <soap:body use="literal" />

    <operation name="Save">
      <soap:operation soapAction="" style="document" />
        <soap:body use="literal" />
        <soap:header message="s0:SaveContextInformation" part="ContextInformation" use="literal" />
        <soap:body use="literal" />

  <service name="ConfigurationManagementWebService">
    <documentation>This web service provides all the methods for webservices usage</documentation>
    <port name="WebServiceSoap" binding="s0:ConfigurationManagementWebServiceSoap">
      <soap:address location="" />

To unsubscribe, e-mail:
For additional commands, e-mail: