on 04-17-2015 6:55 PM
Sorry for the oddball question.
We have a website built on a Linux / PHP stack and we'd like to be able to call a function in a PB application (passing data) and get return data (possibly a blob).
I've done the opposite, have PB make a web service call using MSXML.XMLHTTP, but is there any way to do the reverse?
TIA,
Steve Woitkowski
Hi Steve;
No problem if you have PB 11.0 or (preferably) a higher versions as a PB Classic NVUO can now be published as .Net Web Service. Once that is done, the PHP web page can make a WS call to your PB NVUO & have it return the BLOB.
Going a little further, your PB Client application could also be refactored to get the Blog via WS call - thus reusing the Web Service's code as well.
Food for thought.
HTH
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve;
Hmmm ... that's a weird error.
I use PB 12.1 and 12.5.1 all the time to build & test my current web services on W7, W8, W2008R2 and W2012 and they all work great the 1st time. I even test the WS's using PB 12.6 as well because of my WS Framework I hoist on SourceForge.
Ahhhh ... Now I see - you are using PB.Net whereas I am using PB Classic to build my WS components. Your error is from the WCF realm which indicates to me that PB.Net may not be deploying the WS's properly or its not configured properly in IIs.
1) Anything strange in the PB.Net build logs?
2) Is your WS just a simple (ie: Hello World) test?
3) Can you run the WS through the MS.Net test bench?
4) Have you tried using the WCF Test Client utility?
Regards ... Chris
I'm using Classic too, and the deploy did not return any errors (once I enables IIS on my machine).
It is a simple "hello world" test. The service has one function TestFunc which accepts a string param and returns a string that adds "You passed " + as_passed
I'm going to try another machine. I've got PB 11.5 on an XP machine that I can try, or maybe I'll install 12.5 from scratch on a Win7 32 bit..
My development PC is W7 64 bit and again no issues running the PB Classic WS's after a deployment.
You might want to check the Application Pool in IIs that PB has mapped your WS to:
I'm just copying and pasting the WSDL URL from the project object's "Objects" tab.
http://localhost/test_webservice/n_webservice.asmx?WSDL
Thanks for all of the assistance you're providing. I really appreciate it.
Oh yeah ... I forgot to mention that the folder structure under your xxxxxxx_Root will mirror the location of where your PB development's Workspace folder is located. In my case its in "C:\Dev\PB12\STD_FC_LDAP" ... so the same folder structure is recreated by PB Classic when you deploy to IIs. Thus, you should see your same development folder structure mirrored under your xxxxxxx_Root!
Looks like a bad IIS setup.
Eventually you can fix this by using the proper aspnet_regiis.exe -i as discussed here.
Error 404.17 The requested content appears to be script | The ASP.NET Forums
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.