[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Help on accessing .Net web service.



Sender: "Nilesh Jokhakar" <njokhakar@xxxxxxxxxxxx>

George,

    Try passing following way :( Don't pass "?op=")..See if this
works...

url = 'http://ServerIPAddress/Hello/Service1.asmx/HelloWorld'
     		+ http_url_encoder_getstr(Enc); 


-----Original Message-----
From: George Kolbe [mailto:GEORGEK@xxxxxxxxx] 
Sent: Tuesday, January 03, 2006 8:13 AM
To: 'ftpapi@xxxxxxxxxxxxx'
Subject: Help on accessing .Net web service.

Hi,

Can I ask for a bit of help please.

I created a web service in .Net running IIS on Windows XP. This only
returns
"HelloWorld".

I am trying to access this web service from the iSeries using your
HTTPAPI.
Using your http_url_post, I get an error "HTTP/1.1 Method not allowed."

I am not to sure if I have to send a SOAP package or just the method,
but I
am not to sure how to do this.

If I use the http_url_get as below, I get a web page as if I point my
browser to the web service

	url = 'http://ServerIPAddress/Hello/Service1.asmx?op=HelloWorld'
     		+ http_url_encoder_getstr(Enc);  
	                                         
	if http_url_get( url : STREAMFILE ) = 1; 
   		result = 'Success!';                  
   		cmd('DSPF ''/tmp/Hello.xml''': 200);  
	else;                                    
   		result = http_error();                
	endif;  

Attached is the WSDL doc.

Thank you,

                                                       


-----Original Message-----
From: owner-ftpapi@xxxxxxxxxxxxx [mailto:owner-ftpapi@xxxxxxxxxxxxx]On
Behalf Of Scott Klement
Sent: 28 December 2005 09:02 PM
To: 'ftpapi@xxxxxxxxxxxxx'
Subject: RE: Installing HTTPAPI


Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Sorry about that, I must've overlooked that member when I created the
XML 
version of the release.

Incidentally, this is one way that you can give back to the project:
When 
I'm creating a new release, I always tell people on this mailing list 
where they can download the files and test them out. (The goal is that
we 
find all of the bugs before the release becomes public.)

You can test these releases for me and make sure they have everything 
required.  When I make an announcement, try them out, and report
problems. 
That's a great way to give back.

On Wed, 28 Dec 2005, George Kolbe wrote:
>
> Thank you for replying back. I will download the code from your
website. I
> did the install from an XML method.
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------




-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------