Okay, I updated the WSDL as per, and now I can generate a .NET client.... getting closer.
However, when I make the call, I get an error that the server can't find the attachment part (but it's there). I have a trace below (with most of the binary goo cut out for brevity)... but you can see the content that is being sent, and the response. It appears that the MIME attachement is there, referenced with the appropriate ID, etc... not sure why the server side is not detecting it. Any insights appreciated Here's the trace: - - - - - <tcpTraceLog tcpTraceVersion='0.8.1.717' xmlns='http://www.pocketsoap.com/tcptrace/xmlformat/01' xmlns:xsd='http://www.w3.org/1999/XMLSchema' xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance'> <logStarted xsi:type='xsd:timeInstant'>2006-06-02T13:12:47-07:00 <loggedAt xsi:type='xsd:timeInstant'>2006-06-02T13:13:25-07:00 <connectionOpened xsi:type='xsd:timeInstant'>2006-06-02T13:13:25-07:00 <connectionClosed xsi:type='xsd:timeInstant'>2006-06-02T13:13:25-07:00 172.28.41.188 localhost:8080 25965 720 POST /jbossws-samples-mtom HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42) VsDebuggerCausalityData: uIDPo8alq9H4c1dGhr4MTZ2ewbMAAAAAOF+PlF68eU6ax3n4X1ot46koPebSUghHiHJMPqnVoOYACAAA SOAPAction: "" Host: kevinwit-acer:8090 Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632848508054661278; start="<[EMAIL PROTECTED]>"; start-info="text/xml; charset=utf-8" Content-Length: 25428 Expect: 100-continue Connection: Keep-Alive ----MIMEBoundary632848508054661278 content-id: <[EMAIL PROTECTED]> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8" content-transfer-encoding: binary <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn: uuid:76bc5695-51e8-4efa-9099-8291f641f1f4</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa: Address></wsa:ReplyTo><wsa:To>http://kevinwit-acer:8090/jbossws-samples-mtom</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-58ce580d-3eda-4c21-9eb6-1754e8c0e457"><wsu:Created>2006-06-02T20:13:25Z</wsu:Created><wsu:Expires>2006-06-02T20:18:25Z</wsu:Expires>&l t;/wsu:Timestamp></wsse:Security></soap:Header><soap:Body>Test<xoppart p6:contentType="application/xop+xml" xmlns:p6="http://www.w3.org/2005/05/xmlmime" xmlns=""><xop:Include href="cid:[email protected]" /></soap:Body></soap:Envelope> ----MIMEBoundary632848508054661278 content-id: <[EMAIL PROTECTED]> content-type: application/octet-stream content-transfer-encoding: binary ÿØÿà JFIF H H (MORE BINARY data here that has been removed for this post).... ----MIMEBoundary632848508054661278-- HTTP/1.1 100 Continue HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.5.CR1 (build: CVSTag=Branch_4_0 date=200605301628)/Tomcat-5.5 Set-Cookie: JSESSIONID=F71BE5F3854729A58C379288B7480308; Path=/ Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 02 Jun 2006 20:13:25 GMT Connection: close 51 <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header/> 2a <env:Body><env:Fault>env:Client c 6c org.jboss.ws.WSException: Cannot find attachment part for: cid:[email protected] e c </env:Fault> b </env:Body> f </env:Envelope> 0 <logStopped xsi:type='xsd:timeInstant'>2006-06-02T13:18:28-07:00 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948810#3948810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948810 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
