You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Samisa Abeysinghe <sa...@yahoo.com> on 2004/05/13 12:37:48 UTC

Setting the end point for .NET service

Hi all,

   I want to test C++ client with http://www.mssoapinterop.org/asmx/typed.asmx 
   
   Setting endpoint like below did not work.
        sprintf(endpoint, "http://www.mssoapinterop.org/asmx/typed.asmx");
        InteropTestPortType ws(endpoint);

   Any ideas?
Thanks,
Samisa...


	
		
__________________________________
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2'
http://movies.yahoo.com/showtimes/movie?mid=1808405861 

RE: Setting the end point for .NET service

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Susantha,

I am behind a proxy. So I cannot use the service URL straightaway.

BTW, I want to override the SOAP action set in the sample stub. I do not see a way to call 
stubObject.setSOAPAction( "my SOAP action" );

I also do not have a way to set 
stubObject.setEndpoint( "service uri" );

I think they are needed at stub level.

Thanks,
Samisa...

--- Susantha Kumara <su...@opensource.lk> wrote:
> This should work. See the interop client samples that we have in CVS at
> /c/samples/...
> If this is not working could you try running the provided interop client
> samples to access some interop web service endpoint listed in
> www.whitemesa.net ?.
> 
> ---
> 
> Susantha Kumara
> Virtusa (pvt) Ltd.
> Office : +94112714385
> Mobile : +94777420453
> 
> > -----Original Message-----
> > From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> > Sent: Thursday, May 13, 2004 4:38 PM
> > To: Apache AXIS C Developers List
> > Cc: axis-c-user@ws.apache.org
> > Subject: Setting the end point for .NET service
> > 
> > Hi all,
> > 
> >    I want to test C++ client with
> > http://www.mssoapinterop.org/asmx/typed.asmx
> > 
> >    Setting endpoint like below did not work.
> >         sprintf(endpoint,
> "http://www.mssoapinterop.org/asmx/typed.asmx");
> >         InteropTestPortType ws(endpoint);
> > 
> >    Any ideas?
> > Thanks,
> > Samisa...
> > 
> > 
> > 
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Movies - Buy advance tickets for 'Shrek 2'
> > http://movies.yahoo.com/showtimes/movie?mid=1808405861
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/

RE: Setting the end point for .NET service

Posted by Susantha Kumara <su...@opensource.lk>.
This should work. See the interop client samples that we have in CVS at
/c/samples/...
If this is not working could you try running the provided interop client
samples to access some interop web service endpoint listed in
www.whitemesa.net ?.

---

Susantha Kumara
Virtusa (pvt) Ltd.
Office : +94112714385
Mobile : +94777420453

> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa_abeysinghe@yahoo.com]
> Sent: Thursday, May 13, 2004 4:38 PM
> To: Apache AXIS C Developers List
> Cc: axis-c-user@ws.apache.org
> Subject: Setting the end point for .NET service
> 
> Hi all,
> 
>    I want to test C++ client with
> http://www.mssoapinterop.org/asmx/typed.asmx
> 
>    Setting endpoint like below did not work.
>         sprintf(endpoint,
"http://www.mssoapinterop.org/asmx/typed.asmx");
>         InteropTestPortType ws(endpoint);
> 
>    Any ideas?
> Thanks,
> Samisa...
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Movies - Buy advance tickets for 'Shrek 2'
> http://movies.yahoo.com/showtimes/movie?mid=1808405861