All,
Found the solution!!! just bind the port before the connect call in stdsoap2.c

--- In [email protected], "sanjay_cec" <krishsan...@...> wrote:
>
> Hi Singh,
> Thanks for your reply. 
> My gsoap client will not be connecting to a webservice. Instead it is between 
> two Linux machines. My doubt is that at the client side, there is no socket 
> binding happening to any port. I feel i need to add code for socket bind 
> inside stdsoap2.c . 
> 
> Please provide your opinion. Have to tried anything similar?
> 
> Thanks,
> Sanjay
> 
> -- In [email protected], sanjay singh <sanjaysingh99in@> wrote:
> >
> > Sanjay,
> >  
> > I am facing same type of issue in developing the gSOAP client. Actually, as 
> > per my understanding, when you calling web services from machine where 
> > connected to Proxy. we have to set a proxy host and port of your network as 
> > i did  write a JAVA client for same web services.
> >  
> > However, I have tried to set Proxy Host and Proxy Port, but getting error , 
> > means SOAP request is not prepare properly.
> >  
> > I am looking this issue and let you know about any finding.
> >  
> > Best Regards,
> > 
> >  
> > San
> > 
> > --- On Tue, 3/31/09, sanjay_cec <krishsanjay@> wrote:
> > 
> > 
> > From: sanjay_cec <krishsanjay@>
> > Subject: [gsoap] client side port
> > To: [email protected]
> > Date: Tuesday, March 31, 2009, 9:44 PM
> > 
> > 
> > 
> > 
> > 
> > 
> > Hi Experts,
> > Need help for this gSOAP newbie. My gSOAP client application is sending 
> > messages through available ports. How can i ensure it is send through 
> > user-specfied port?
> > 
> > i tried giving soap.proxy_port = 9000; 
> > i want the client to send messages from 9000 port to the server.
> > 
> > Please give a solution.
> > 
> > -Sanjay
> >
>


Reply via email to