I am trying to understand this WSDL file, which defines the service for Quickbooks Web Connector (QBWS).
It is an exe program running on your local laptop and talk to other web service in the clould, e.g.: syncing an invoice from web service.
I've read some articles about, WSDL and SOAP, but when it comes to this block, I don't understand:
<wsdl:input><soap12:body use="literal"/></wsdl:input>
if you search "literal" in the above WSDL file, there are many. What is "use=literal"?
Related
Have an MSI file with multiple Windows Services. Running the MSI file creates an instance of each service. However, I am unable to install another instance of each service (or one of the contained services).
Have tried a few suggestions online but they seem more suited for EXE files. have tried MSINEWINSTANCE but from my understanding, this requires a .mst file which we don't have or know how to create.
Ideally, create each service with a "_#' at the end (where # is instance of the service.
Currently, we are connecting getting information from web service through cobol by using "db2 xml" "SOAP HTTP NV".
Currently using sql mentioned below,
exec sql
select
db2xml.soaphttpnv
(:internet protocol address,:webservice namespace,:soap xml schema
structure)
into :varchar-output
from sysibm.sysdummy1
end-exec.
I am pondering the possibilities on hitting the web service without intervention of db2.
I came accross z/os connect ee. I am looking forward to find out the components that would be required in z/os connect to ensure calling SOAP based webservice from cobol(without intervention of db2).
Any suggestions from stalwarts and experts who have achieved this would be much appreciated.
Many thanks in advance!
You could also use IBMs z/OS HTTP/HTTPS Protocol Enabler to invoke services. We do this in batch programs and IMS transactions. Check https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieac100/ieac1-client-web-enablement.htm for more information.
z/OS Connect EE only supports RESTful web services using JSON, not SOAP. You can do requests outbound using something called "API requester".
"Configuring z/OS Connect EE to support API requesters" in the IBM Knowledge Center gives details.
We faced similar situation few years ago that we able to invoke the webservice from the CICS (SOAP request) but we don't have option for webservice from batch. So , we triggered the CICS program(EXCI) from batch with DFHS pipeline targeted CICS region where the data passed as parameter to DFHCOMMAREA/ separate table to have data if huge volume then with containers and channels generated xml and invoked the webservice (end points are already defined in the CICS region).
I have about 3 WCF services to be hosted in IIS and 2 as Windows Service in the same server.
In order to make the deployment automated, I am thinking of using Powershell which will read the configuration from a file (json, or xml) containing all the required information for the service to be hosted (type of host, port etc). And also write to log file about the steps that it executed and status of service.
Is it technically possible to do it in Powershell ? I'm sure from where to start with, and searching over internet did not give me a proper clue/direction.
Please advice with links or samples. Thanks.
I am trying to connect to an external SOAP service using PHP and have written a small php test script that just connects to the service and performs a simple request to check everything is working.
This all works correctly but when I run via a browser request, it is very slow taking somewhere in the region of 40s to establish the initial connection. When I do the same request using the exact same script on the command line, it goes through straight away.
Does anyone have any ideas as to why this might be?
Cheers
PHP caches the wsdl in /tmp. If you run from the command line first, the cache file will be owned by whatever user you're running the script as, and apache won't be able to read the cache. The wsdl will have to be downloaded and parsed every time which will be slow.
Check the permissions of /tmp/wsdl*.
Maybe external SOAP service trying to check your IP, and your server has ICMP allowed, when your local network - not.
Anyway, this question might be answered more clearly by administrator of external SOAP service :)
Is there a difference between the php.inis that are being used?
On a standard ubuntu server installation:
diff /etc/php5/apache2/php.ini /etc/php5/cli/php.ini
//edit:
Another difference might be in the include paths. Had this trouble myself on a local test server, it didn't actually use the soap class that was included (it didn't include anything, because the search paths weren't valid), but it included the built-in soap_client class.
i created a web service, upload it to my site on a remote server.
i tried to browse it but i cant, i also tried to add web reference to his adress through vs08 but the same problem happened there.
Ok, based on your comment:
i didnt get any errors, only when
beowsing it i get a 404 page not found
error, the name space is
"http://www.poppetz.com/poppetz"; but
the service is actually in
http://www.popetz.co.il/Services/Poppetz.asmx
maybe this is the problem??? i
deployed it with vs08 through ftp –
Chen Kinnrot (2 mins ago)
The namespace of your service will have nothing to do with you being able to access it.
If you put a plain old test.html that echo "hello world" back to you and put that in the same directory as your service, can you access that?
ie: http://www.popetz.co.il/Services/test.html
Can you get access to the machine hosting the web services. If so, if you look in the IIS manager, can you see the ASMX in the web site you are expecting it be in?
If not, then start looking at the IIS configuration and make sure that web site directory is the same folder as you are dumping the web service files.
10x everyone, the server provider change some iis config and everything works...\