Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB0BD107DD for ; Sat, 14 Feb 2015 03:42:11 +0000 (UTC) Received: (qmail 86514 invoked by uid 500); 14 Feb 2015 03:42:11 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 86440 invoked by uid 500); 14 Feb 2015 03:42:11 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 86427 invoked by uid 99); 14 Feb 2015 03:42:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 03:42:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pasadim@wso2.com designates 209.85.192.177 as permitted sender) Received: from [209.85.192.177] (HELO mail-pd0-f177.google.com) (209.85.192.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Feb 2015 03:42:06 +0000 Received: by pdjg10 with SMTP id g10so23375004pdj.1 for ; Fri, 13 Feb 2015 19:41:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/VPdzVakpj4cXzckd/Be5CsX6F5atMQ+YTo7NKqxHvI=; b=SvrysQ2PYl9k6qHHixUcFEALs4LKNJJ+/RNwiKlYkoT4tnE28fomZQ7NPPgxbwIBXo RDLrn/w4qzoRSj6Ud8VpgczP48ch/rZRDK7xzrAxA6QTDT0cCMEyTzbyr3tG4xvFVyCA 9HQnhV11pcPsDX5cL8v0O29NRRRIFJpgB2hng= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=/VPdzVakpj4cXzckd/Be5CsX6F5atMQ+YTo7NKqxHvI=; b=BBdpT/Gx8kIdpq0IYBJw9O1ig8flbds74Mb+J8FXXngcpio7hzRYTb77oNPK2xjwX2 5VUuy4wtSd6I7WVCFJKvT3QWld5/XOQTdludFv4MW4ywKT9ekb+W8kyd3j/cj28h8X7+ SRzq9CXhWM2h27GPGjdnnSX5GtWfuEbYKDtxBMB8GPpdzkYGBNXcbv63FKm+M2Q0dh4N LBbM7D5yQd7kIGuOqCXTBceyDmWQw1pKAnZSB7DQB4CElGpZtrc2/Kw+AL6LWeH0XbEy 16wsLWn2MqRb+KpsJqwB701l1qR8Nk+r2Mt7bUjh8O3ZlJObkpK/PBs+FnxC+WzeSqPq Petg== X-Gm-Message-State: ALoCoQn1ifXz3kVjbP9HVOAko6ISCK4SnwMT6X3+4OEnhVt6csjtamgc7bHQ2erlznqK1JUutkP7 MIME-Version: 1.0 X-Received: by 10.67.7.225 with SMTP id df1mr21091577pad.48.1423885261387; Fri, 13 Feb 2015 19:41:01 -0800 (PST) Received: by 10.70.36.237 with HTTP; Fri, 13 Feb 2015 19:41:01 -0800 (PST) In-Reply-To: <8B6D1C3E-1C75-4E4C-91A1-7AECC66BD21C@apache.org> References: <8B6D1C3E-1C75-4E4C-91A1-7AECC66BD21C@apache.org> Date: Sat, 14 Feb 2015 09:11:01 +0530 Message-ID: Subject: Re: Sending Messages to WS Endpoints. From: Pasadi Munasinghe To: Daniel Kulp Cc: users@cxf.apache.org Content-Type: multipart/alternative; boundary=001a1134a61e34d147050f041f44 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134a61e34d147050f041f44 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Daniel, Thanx a lot for you reply. The thing is I don't have a lot of experience in CXF. Soi'd really appreciate if you can elaborate this a bit more. Some references on how to do this would be very valuable. Thanx..!!! On Sat, Feb 14, 2015 at 1:04 AM, Daniel Kulp wrote: > > > On Feb 13, 2015, at 6:49 AM, Pasadi Munasinghe wrote= : > > > > I need to implement a Client in cxf to send messages to a WS endpoint > > without initializing a service class without using a WSDL. Can anyone > > suggest me how to do this..? > > Thanx..! > > JAX-WS has some ways to do this, but it=E2=80=99s not =E2=80=9Ceasy=E2=80= =9D. You would need to > do a Service.create(name) to create the Service, call addPort on it to > define the port (soap1.1/1.2, url, etc=E2=80=A6), then create the Dispatc= h object > from it. > > -- > Daniel Kulp > dkulp@apache.org - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > > --=20 Pasadi Munasinghe Software Engineer Intern WSO2, Inc Mobile: +9471 377 5515 --001a1134a61e34d147050f041f44--