Hi all, I followed the example in Anne’s blog
that talks about WRAPPED style http://www.burtongroup.com/weblogs/annethomasmanes/archives/2004/04/000187.html
I then used WSDL2Java to generate all the Java files (giving
the –skeleton false flag) So this should
generate the “impl” class to be
deployed. But using the AdminClient, it fails to deploy (did not write anything to
the “server-config.wsdd”) Below is the “deploy.wsdd”
that WSDL2Java generated. I suspect
something in the deploy.wsdd that Axis cannot
understand, so it fails to deploy. I appreciate very much anyone’s help! Getting .NET web services to talk to
Java web services CANNOT be so hard! -David <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <!-- Services from IRAReceivePolicyService
WSDL service --> <service
name="IRAReceivePolicy" provider="java:RPC"
style="document" use="literal"> <parameter
name="wsdlTargetNamespace"
value="http://localhost:18080/axis/services/IRAReceivePolicy"/> <parameter
name="wsdlServiceElement" value="IRAReceivePolicyService"/> <parameter
name="wsdlServicePort" value="IRAReceivePolicy"/> <parameter
name="className"
value="localhost.axis.services.IRAReceivePolicy.IRAReceivePolicySoapBindingImpl"/> <parameter
name="wsdlPortType" value="IRAReceivePolicy"/> <operation
name="receivePolicyDocument" qname="operNS:ReceivePolicyDocument"
xmlns:operNS="http://localhost:18080/axis/services/IRAReceivePolicy" returnQName="retNS:ReceivePolicyDocumentReturn"
xmlns:retNS="http://localhost:18080/axis/services/IRAReceivePolicy/types"
returnType="rtns:string"
xmlns:rtns="http://www.w3.org/2001/XMLSchema"
>
<parameter qname="pns:arg1" xmlns:pns="http://localhost:18080/axis/services/IRAReceivePolicy/types"
type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
<parameter qname="pns:arg2"
xmlns:pns="http://localhost:18080/axis/services/IRAReceivePolicy/types"
type="tns:string" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
</operation> <parameter
name="allowedMethods" value="receivePolicyDocument"/> <typeMapping xmlns:ns="http://localhost:18080/axis/services/IRAReceivePolicy/types" qname="ns:ReceivePolicyDocument_t" type="java:localhost.axis.services.IRAReceivePolicy.types.ReceivePolicyDocument_t" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="" />
</service> </deployment> |
- axis 1.2 server error ??? David Song