axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lio axis <lio.a...@gmail.com>
Subject newbie to wsdl document styled
Date Wed, 30 Mar 2005 14:02:50 GMT
Hello world,

I'm trying to generate a proper wsdl from a wsdd that SHOULD be 
like this :

<wsdl:operation name="getConfigurationRelease">
      <wsdlsoap:operation
soapAction="http://ipcfm/GetConfigurationV2/GetConfigurationRelease"
style="document"/>
      <wsdl:input>
        <wsdlsoap:body namespace="http://ipcfm/GetConfigurationV2"
use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <wsdlsoap:body namespace="http://ipcfm/GetConfigurationV2"
use="literal"/>
      </wsdl:output>
    </wsdl:operation>

So i made a wsdd like this :

<namespace>http://ipcfm/GetConfigurationV2</namespace>  
		<parameter name="beanJndiName" value="GetConfigurationBean"/>
		<parameter name="homeInterfaceName"
value="com.equant.refce.ipcfm.bouchon.GetConfigurationHome"/>
		<parameter name="remoteInterfaceName"
value="com.equant.refce.ipcfm.bouchon.GetConfiguration"/>
		<parameter name="allowedMethods" value="getConfiguration,
getConfigurationVersion, getConfigurationRelease"/>
		<operation name="getConfiguration">
			<parameter name="GetConfRequest" mode="IN" minOccur="1" nillable="false"/>
		</operation>
.../...
with a mapping type like this :

<typeMapping qname="ns:GetConfRequest"
xmlns:ns="http://ipcfm/GetConfigurationV2"
				languageSpecificType="java:com.equant.refce.ipcfm.bouchon.getConfiguration._GetConfRequest"
				serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
				deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"/>

nothing tremedious, isn't it.

But when i invoke the service only to see the wsdl (http://blahblah?wsdl)
axis try to explain things to me in this terms :

Attempted to write schema for bad QName (no namespace) : GetConfRequest
	at org.apache.axis.wsdl.fromJava.Types.writeSchemaElement(Types.java:656)
	at org.apache.axis.wsdl.fromJava.Emitter.writePartToMessage(Emitter.java:1368)
.../...


Maybe anybody could help to translate this?
Thx,

Mime
View raw message