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 lc...@unina.it on 2004/07/21 12:54:01 UTC
help on WSI-BasicProfile compatibility
Hi, I'm trying to access a Web Service by a J2ME client.
I have used Axis 1.1 to deploy web service. In wsdd file I chosed for the
service:
style="document" use="literal"
The provided WSDL is as follow:
**************************************************************************
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://DefaultNamespace"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://DefaultNamespace" xmlns:intf="http://DefaultNamespace"
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:types><schema
targetNamespace="http://DefaultNamespace"
xmlns="http://www.w3.org/2001/XMLSchema"><element name="in0"
type="xsd:base64Binary"/><element name="in1" type="xsd:base64Binary"/><element
name="signRequestReturn" type="xsd:base64Binary"/></schema></wsdl:types>
<wsdl:message name="signRequestRequest">
<wsdl:part element="impl:in0" name="in0"/>
<wsdl:part element="impl:in1" name="in1"/>
</wsdl:message>
<wsdl:message name="signRequestResponse">
<wsdl:part element="impl:signRequestReturn" name="signRequestReturn"/>
</wsdl:message>
<wsdl:portType name="caInt">
<wsdl:operation name="signRequest" parameterOrder="in0 in1">
<wsdl:input message="impl:signRequestRequest" name="signRequestRequest"/>
<wsdl:output message="impl:signRequestResponse"
name="signRequestResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="caSoapBinding" type="impl:caInt">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="signRequest">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="signRequestRequest">
<wsdlsoap:body namespace="http://DefaultNamespace" use="literal"/>
</wsdl:input>
<wsdl:output name="signRequestResponse">
<wsdlsoap:body namespace="http://DefaultNamespace" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="caIntService">
<wsdl:port binding="impl:caSoapBinding" name="ca">
<wsdlsoap:address location="http://localhost/axis/services/ca"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
******************************************************************************
Generating the Client Stubs for my service I have the following warning
warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in
doc/lit for soapbind:body: "signRequest"
It seems it is a bug of axis. I'd like know more about it. How can I overtake
this problem?
Thanks in advance
Luigi Coppolino
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.