I'm using JSR 181 annotations with XFire 1.2.4 and Spring 2. The web
service is SOAP wrapped document literal.
@SOAPBinding (style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
The test method I'm mapping simply echos a byte.
@WebMethod(operationName = "echoByte", action = "urn:EchoByte")
@WebResult(name = "echoByteResult")
public byte echoByte(
@WebParam(name = "sessionID") String sessionID,
@WebParam(name = "input") byte input
);
It is working. It doesn't appear to me that
DefaultTypeMappingRegistry has anything for a byte, only a byte array.
Why is this?
The produced wsdl contains this:
<xsd:element name="echoByte">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="sessionID"
nillable="true" type="xsd:string"/>
<xsd:element maxOccurs="1" minOccurs="1" name="input" type="ns1:byte"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
with ns1 as xmlns:ns1="http://DefaultNamespace"
cheers,
Cameron
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email