You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Aravind Chavar <ar...@hotmail.com> on 2002/10/16 21:44:38 UTC
Faulty WSDL generated by AXIS.
I am trying to deploy a webservice, where in provider is an EJB.EJB is
deployed on JBoss.
For SOAP I am using standalone Tomcat-4.1.12 with AXIS RC2 intgerated into
that.The WSDD file for the webservices is
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" >
<service name="OmniConnectCalcJbossEJBService" provider="java:EJB">
<parameter name="beanJndiName" value="OmniConnectCalcJNDIName" />
<parameter name="homeInterfaceName"
value="OmniConnectCalcPackage.OmniConnectCalcHome" />
<parameter name="remoteInterfaceName"
value="OmniConnectCalcPackage.OmniConnectCalc" />
<parameter name="allowedMethods" value="exec" />
<parameter name="className"
value="OmniConnectCalcPackage.OmniConnectCalc" />
<parameter name="jndiURL" value="jnp://localhost:1099" />
<parameter name="jndiContextClass"
value="org.jnp.interfaces.NamingContextFactory" />
<beanMapping qname="ns:OmniDataCalcInputBean"
xmlns:ns="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniDataCalcInputBean"/>
<beanMapping qname="ns1:OmniDataCalcOutputBean"
xmlns:ns1="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniDataCalcOutputBean"/>
<beanMapping qname="ns2:OmniMessage"
xmlns:ns2="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniMessage"/>
<beanMapping qname="ns3:OmniHalogenInfo"
xmlns:ns3="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniHalogenInfo"/>
<beanMapping qname="ns4:OmniStandardInputBean"
xmlns:ns4="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniStandardInputBean"/>
<beanMapping qname="ns4:OmniStandardOutputBean"
xmlns:ns4="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniStandardOutputBean"/>
<beanMapping qname="ns4:OmniHalogenPerformanceTimes"
xmlns:ns4="com.sungard.omniconnect.framework"
languageSpecificType="java:com.sungard.omniconnect.framework.OmniHalogenPerformanceTimes"/>
</service>
</deployment>
Bean mapping are for my custom beans.The classes for thes e custom beans are
packaged into a jar, and this jar is placed in lib directory of AXIS.I am
not getting the details about these beans in the WSDL generated by AXIS.Why
is that AXIS is not generating WSDL relevant to this.Following is the faulty
WSDL generated by AXIS
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/OmniConnectCalcJbossEJBService"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://localhost:8080/axis/services/OmniConnectCalcJbossEJBService"
xmlns:intf="http://localhost:8080/axis/services/OmniConnectCalcJbossEJBService"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:portType name="OmniConnectCalc" />
- <wsdl:binding name="OmniConnectCalcJbossEJBServiceSoapBinding"
type="intf:OmniConnectCalc">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
</wsdl:binding>
- <wsdl:service name="OmniConnectCalcService">
- <wsdl:port binding="intf:OmniConnectCalcJbossEJBServiceSoapBinding"
name="OmniConnectCalcJbossEJBService">
<wsdlsoap:address
location="http://localhost:8080/axis/services/OmniConnectCalcJbossEJBService"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Any help is greatly appreciated,
Arvind
_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp