axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject SoapUI (Re: HTTP header issue with MTOM)
Date Tue, 12 Dec 2006 14:27:05 GMT
Ole,

I had the pleasure of using SoapUI a few weeks ago!. It looks and
works great! Thanks for all your work. Please let us know how we
(Axis2 team) can help.

thanks,
dims

On 12/12/06, omatzura <ole@eviware.com> wrote:
>
> Hi Jan,
>
> this looks like a bug in soapui to me.. the application/soap+xml value for
> start-info should be used for SOAP 1.2 messages (which your message is
> not).. for SOAP 1.1 the start-info value should be text/xml..
>
> I'll fix this in the upcoming soapui snapshot!
>
> regards,
>
> /Ole
> eviware.com
>
>
> Jan Christian Bryne wrote:
> >
> > Hi,
> >
> > I have a question related to Content-Type HTTP header.
> >
> > When Axis2 receives a MTOM message that has
> > startinfo="application/soap+xml
> > as a part of the Content-Type header, it returns an error message (below).
> > When startinfo="text/xml all is fine, and Axis2 receives the attachment
> > without problems.
> >
> > Is this an issue with the client (soapUI) or Axis2, or have I missed out
> > on
> > something else?
> >
> >
> > Best,
> > Jan Christian Bryne
> >
> > ---------------------------
> > HTTP Request:
> > --------------------------
> > POST /axis2/services/FileDepot HTTP/1.1
> > SOAPAction: "http://www.bccs.uib.no/FileDepot/submitFile"
> > Content-Type: multipart/related; type="application/xop+xml"; start="<
> > rootpart@soapui.org>"; startinfo="application/soap+xml; action=\"
> > http://www.bccs.uib.no/FileDepot/submitFile\"";
> > boundary="----=_Part_27_17361162.1165910679065"
> > MIME-Version: 1.0
> > User-Agent: Jakarta Commons-HttpClient/3.0.1
> > Host: localhost:8081
> > Content-Length: 284547
> >
> >
> > ------=_Part_27_17361162.1165910679065
> > Content-Type: application/xop+xml; charset=UTF-8;
> > type="application/soap+xml; action=\"submitFile\""
> > Content-Transfer-Encoding: 8bit
> > Content-ID: <rootpart@soapui.org>
> >
> > <soapenv:Envelope xmlns:fil="http://www.bccs.uib.no/FileDepot"
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xm="
> > http://www.w3.org/2005/05/xmlmime">
> >    <soapenv:Header/>
> >    <soapenv:Body>
> >       <fil:submitFile>
> >          <fileName>filename.jpg</fileName>
> >          <fileContent xm:contentType="image/jpeg"><inc:Include
> > href="cid:1165758859560" xmlns:inc="http://www.w3.org/2004/08/xop/include
> > "/></fileContent>
> >       </fil:submitFile>
> >    </soapenv:Body>
> > </soapenv:Envelope>
> > ------=_Part_27_17361162.1165910679065
> > Content-Type: application/vnd.ms-powerpoint
> > Content-Transfer-Encoding: binary
> > Content-ID: <1165758859560>
> >
> > [binary data here]
> >
> > ------=_Part_27_17361162.1165910679065--
> >
> >
> > ---------------------------
> > HTTP Response:
> > --------------------------
> > HTTP/1.1 500 Internal Server Error
> > Content-Type: application/soap+xml;charset=UTF-8
> > Transfer-Encoding: chunked
> > Date: Tue, 12 Dec 2006 08:48:06 GMT
> > Server: Apache-Coyote/1.1
> > Connection: close
> >
> > 30c
> > <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:wsa="
> > http://www.w3.org/2005/08/addressing" xmlns:soapenv="
> > http://www.w3.org/2003/05/soap-envelope
> > "><soapenv:Header><wsa:ReplyTo><wsa:Address>
> > http://www.w3.org/2005/08/addressing/none
> > </wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:C90EBD69984786D5FB1165913286043</wsa:MessageID><wsa:Action>
> > http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:VersionMismatch</soapenv:Value></soapenv:Code><soapenv:Reason><soapenv:Text
> > xml:lang="en-US">Transport level information does not match with SOAP
> > Message namespace
> > URI</soapenv:Text></soapenv:Reason><soapenv:Detail></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> > 0
> >
> >
> >
> >
> > --
> > Jan Christian Bryne
> > Computational Biology Unit
> > Bergen Center for Computational Science
> >
> >
>
> --
> View this message in context: http://www.nabble.com/HTTP-header-issue-with-MTOM-tf2806741.html#a7831497
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message