Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 27658 invoked from network); 10 Oct 2006 13:43:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 13:43:41 -0000 Received: (qmail 71802 invoked by uid 500); 10 Oct 2006 13:43:40 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 71785 invoked by uid 500); 10 Oct 2006 13:43:40 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 71774 invoked by uid 99); 10 Oct 2006 13:43:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 06:43:40 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of martin.voelkle@gmail.com designates 64.233.166.179 as permitted sender) Received: from [64.233.166.179] (HELO py-out-1112.google.com) (64.233.166.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 06:43:39 -0700 Received: by py-out-1112.google.com with SMTP id x31so2631617pye for ; Tue, 10 Oct 2006 06:43:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NL/tLnQj7oAzgHkYRSxehqr5NHKhwreenb/1mY4D5inBknkk4KVZBoem2GvW3cpzL8FfYnCorh0auMxEvHS6uGuk4xOBDg6Yf77A6vtmy2Nvxh5dv5TlVWxvyi/n3KCg28pKIb3mywGW3D48u+RSCR3pFL5FW5FdUFKDZ1vT+zg= Received: by 10.35.37.13 with SMTP id p13mr15104567pyj; Tue, 10 Oct 2006 06:10:50 -0700 (PDT) Received: by 10.35.127.8 with HTTP; Tue, 10 Oct 2006 06:10:49 -0700 (PDT) Message-ID: Date: Tue, 10 Oct 2006 15:10:50 +0200 From: "Martin Voelkle" To: axis-c-user@ws.apache.org Subject: [Axis2]swa reply MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello I am trying to access a SOAP 1.1 service which replies with a swa attachment. My TCP monitor reveals that the server does send a correct multipart reply, but the client gets an error number 3: "blocking invocation expects response". When accessing an other service on the same server which doesn't return any attachment, using the same client code, everything goes well. Below is the code I am using to call the service. I also tried a few variations, like enabling MTOM (the doc says it should not be necessary for incoming messages). Could you please help me identify what is going wrong? Thanks, Martin Voelkle axis2_env_t* env = axis2_env_create_all(LOG_FILENAME, AXIS2_LOG_LEVEL_TRACE); axis2_endpoint_ref_t* endpoint_ref = axis2_endpoint_ref_create(env, ENDPOINT_URL); axis2_options_t* options = axis2_options_create(env); AXIS2_OPTIONS_SET_TO(options, env, endpoint_ref); AXIS2_OPTIONS_SET_ACTION(options, env, SOAP_ACTION); AXIS2_OPTIONS_SET_SOAP_VERSION(options, env, AXIOM_SOAP11); axis2_char_t* axis2c_home = AXIS2_GETENV("AXIS2C_HOME"); if (!axis2c_home) { axis2c_home = DEFAULT_AXIS2C_HOME; } axis2_svc_client_t* svc_client = axis2_svc_client_create(env, axis2c_home); if (!svc_client) { HANDLE_ERROR(env, "Client creation FAILED"); } AXIS2_SVC_CLIENT_SET_OPTIONS(svc_client, env, options); axiom_node_t* request = build_request(env); axis2_char_t* request_str = AXIOM_NODE_TO_STRING(request, env); if (request_str) printf("\nSending OM : %s\n", request_str); axiom_node_t* reply = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, request); if (!reply) { HANDLE_ERROR(env, "Client invoke FAILED"); } axis2_char_t* reply_str = AXIOM_NODE_TO_STRING(reply, env); if (reply_str) printf("\nReceived OM : %s\n", reply_str); printf("\nClient invoke SUCCESSFUL!\n"); --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org