axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hector Flores <hector.flo...@verizon.net>
Subject swaRef URI initialization "Whats the right WSDL for MIME"
Date Fri, 27 Aug 2004 21:50:48 GMT
I am trying to do attachments via the recent AP 1.0 SwA profile but need 
some help in creating the URI object.
Not sure what to do here.

I am using the wsdl for doc/literal which was previously posted on this 
site for "What's the right WSDL for MIME" (also found in the AP 1.0)

            <xsd:complexType name="ClaimDetailType">
                <xsd:sequence>
                    <xsd:element name="Name" type="xsd:string"/>
                    <xsd:element name="ClaimForm" type="ref:swaRef"/>
                </xsd:sequence>
            </xsd:complexType>

    <wsdl:message name="ClaimIn">
        <wsdl:part name="body" element="types:ClaimDetail"/>
        *<wsdl:part name="ClaimPhoto" type="xsd:base64Binary"/>*
    </wsdl:message>

Currently when I try and call the server I get an exception:

     [java] upload Test:
     [java] Exception: org.xml.sax.SAXException: Invalid element in com.lmtas.swa.services.ClaimDeta
ilType - ClaimDetail
     [java] AxisFault
     [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     [java]  faultSubcode:
     [java]  faultString: org.xml.sax.SAXException: Invalid element in com.lmtas.swa.services.ClaimD
etailType - ClaimDetail
     [java]  faultActor:
     [java]  faultNode:
     [java]  faultDetail:
     [java]     {http://xml.apache.org/axis/}hostname:raul

     [java] org.xml.sax.SAXException: Invalid element in com.lmtas.swa.services.ClaimDetailType
- Cl
aimDetail
     [java]     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:223)
     [java]     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:130)
     [java]     at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationCon
textImpl.java:1060)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
     [java]     at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
     [java]     at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
     [java]     at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
     [java]     at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
     [java]     at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
     [java]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
     [java]     at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextI
mpl.java:218)
     [java]     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:646)
     [java]     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
     [java]     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.
java:62)
     [java]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:173)
     [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2735)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2718)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2394)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2317)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:1774)
     [java]     at com.lmtas.swa.client.SWAServiceBindingStub.sendClaim(SWAServiceBindingStub.java:1
60)
     [java]     at swaClientTest.main(swaClientTest.java:39)




Mime
View raw message