Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 25270 invoked from network); 18 Mar 2009 07:28:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2009 07:28:56 -0000 Received: (qmail 89379 invoked by uid 500); 18 Mar 2009 07:28:47 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 89332 invoked by uid 500); 18 Mar 2009 07:28:47 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 89323 invoked by uid 99); 18 Mar 2009 07:28:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 00:28:47 -0700 X-ASF-Spam-Status: No, hits=2.4 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of keithgchapman@gmail.com designates 209.85.146.179 as permitted sender) Received: from [209.85.146.179] (HELO wa-out-1112.google.com) (209.85.146.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 07:28:37 +0000 Received: by wa-out-1112.google.com with SMTP id n4so213567wag.0 for ; Wed, 18 Mar 2009 00:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=RverB9bMz8aUAUwTFDjLB2ESJ9kg+3G/0XBYt7GJVTw=; b=H1KFhxR3oqljfWjVCLk03AAAsb6dr1E5cJOqu7RLRwoEfUU87vr50QomcDcFo0auT9 QSWTsSaVvdmsG99NbVklgw4aVjY+CEynAH8IbmnnIYVKKRgpZHLEECqpPIdB+AzPUm2T +BxaPDKpHDn49SeiU+NT+RaRvn55yLXfFJqU8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DM3l8oXxsTO9JtmDiZE1DWs85U8YuI9ZGRTZ63oSfFdw4ppekWg1NaVmVXTrwmkY+L eHsO95lfCtSXAAQFQvBfRznbuXR8fBkPY2Z+YY1T4sicDtYPuMjimA8EyAo/q7ni1NzI q7QRVDrpwxb+xVngMphYGH5n20JSQENrTF/Mg= MIME-Version: 1.0 Received: by 10.114.146.4 with SMTP id t4mr82023wad.23.1237361296160; Wed, 18 Mar 2009 00:28:16 -0700 (PDT) In-Reply-To: <22561063.post@talk.nabble.com> References: <22561063.post@talk.nabble.com> Date: Wed, 18 Mar 2009 12:58:16 +0530 Message-ID: Subject: Re: Does HTTPEndpointStub work? From: keith chapman To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=00163645899684395204655fa005 X-Virus-Checked: Checked by ClamAV on apache.org --00163645899684395204655fa005 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Could you post your wsdl please? Thanks, Keith. On Tue, Mar 17, 2009 at 8:35 PM, jcaristi wrote: > > I am generating ADB stubs from hand-coded WSDL, for an Axis2 service that > is > embedded in a web application. I have both SOAP and HTTP endpoints > defined. > I can successfully call my web service using both SOAP and REST clients. > SoapUI works for both. The HttpSoap11EndpointStub works for both (using > the > ENABLE_REST option for REST). I have also created a Service client that > works. > > What does not work is the HTTPEndpointStub, and I'm not sure why, or even > if > I need it. I do want to support both SOAP and REST. I would like to use > the > most efficient approach, which is why I am asking these questions. > > The working URL (in all the above scenarios) for my service is: > > /partselect/services/PartSelectService/ > > When I attempt to use the HTTPEndpointStub, its URL is different. I get > the > error: > > The service cannot be found for the endpoint reference (EPR) /partselect/ > > services/PartSelectService.PartSelectServiceHttpEndpoint/PartSelectService/MakeSearch > > Why is an HTTPEndpointStub created? Why does this stub create the URL in > this way? How does one configure the server to listen on this type of > endpoint? Should I just use the HTTPSoap11EndpointStub, or should I try to > get this one working? > > > -- > View this message in context: > http://www.nabble.com/Does-HTTPEndpointStub-work--tp22561063p22561063.html > Sent from the Axis - User mailing list archive at Nabble.com. > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org --00163645899684395204655fa005 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Could you post your wsdl please?

Thanks,
Keith.

On Tue, Mar 17, 2009 at 8:35 PM, jcaristi <jcaristi@whisolutions.co= m> wrote:

I am generating ADB stubs from hand-coded WSDL, for an Axis2 service that i= s
embedded in a web application. =A0I have both SOAP and HTTP endpoints defin= ed.
I can successfully call my web service using both SOAP and REST clients. SoapUI works for both. =A0The HttpSoap11EndpointStub works for both (using = the
ENABLE_REST option for REST). =A0I have also created a Service client that<= br> works.

What does not work is the HTTPEndpointStub, and I'm not sure why, or ev= en if
I need it. =A0I do want to support both SOAP and REST. I would like to use = the
most efficient approach, which is why I am asking these questions.

The working URL (in all the above scenarios) for my service is:

/partselect/services/PartSelectService/

When I attempt to use the HTTPEndpointStub, its URL is different. =A0I get = the
error:

The service cannot be found for the endpoint reference (EPR) /partselect/ services/PartSelectService.PartSelectServiceHttpEndpoint/PartSelectService/= MakeSearch

Why is an HTTPEndpointStub created? =A0Why does this stub create the URL in=
this way? =A0How does one configure the server to listen on this type of endpoint? =A0Should I just use the HTTPSoap11EndpointStub, or should I try = to
get this one working?


--
View this message in context: http://www.nabb= le.com/Does-HTTPEndpointStub-work--tp22561063p22561063.html
Sent from the Axis - User mailing list archive at Nabble.com.




--
Keith ChapmanSenior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platf= orm.
http://wso2.org/

blog: http://www.keith-chapman.org
--00163645899684395204655fa005--