PHP SOAP Request with XML Payload - php

I have a Wordpress website and I'm trying to allow the case system that I have created to file cases electronically in an automated fashion. Here's a link to the documentation and such for what I'm trying to do....
https://www.courts.mo.gov/exchanges/display/MOJXECFAF/Missouri+Judicial+Exchanges+Electronic+Case+Filing+-+Automated+Filing
There is an example of Java web service in the documentation, but I'm trying to create a PHP version of this. The documentation and help that I've gotten says this... You will need to submit a SOAP Request with the XML payload and binary documents to our Automated Filing Web Service. The end point is documented in the WSDL in the Automated Filing IEPD. I have my own credentials that I can plug into the request.xml file in the documentation, but I have no idea how to send this SOAP request using PHP to the appropriate endpoint. I have tried a bunch of different things, but nothing has worked so far.
Any help would be greatly apprecaited.
Thanks!

Related

How to call a chatfuel block from api.ai agent's custom payload using PHP?

I am following this link to integrate my chatfuel with api.ai and it worked for me.This script is in Nodejs and uses runkit environment to generate endpoint.
Now I want to integrate both the platform using php and publish it to my own server. I have used this repository which also worked quiet well for me.
Now using PHP script If I want to reflect any smalltalk response from api.ai to my bot, it's working fine. but if I want to call a block of chatfuel from custom payload of api.ai it is not going through. Can anyone please help me on this .....
I am getting "Sorry,Chatbot is Error" error.

PHP SOAP OTA Connection

for a customer I want to implement the OTA service in an interface to check availabilty and things like that.
I've downloaded the 2017 specifications from OpenTravel. But I lack some information. I want to realize it with PHP and SOAP and later connect it to Magento. But I can't find any url for the SOAP client to send those XMLs to.
I would greatly appreciate any help on this topic or maybe suggestions to do it in an easier way.
Greetings
Consuming OTA SOAP web services is tricky as PHP SoapClient class does not handle it properly.
First you should generate the PHP sdk from the WSDL corresponding to the availabilities you need to send requests to. You should give the PackageGenerator project from Github a try.
Nevertheless, as I said, the native PHP SoapClient class does not map the parameters to the XML request correctly. This is where you have to write your proper code to handle the mapping from the PHP objects to the XML request.
As I work regularly on these sorte of issues, I can help you further but only privately at contact#wsdltophp.com.

Accessing Google App Engine's Search API from PHP

Is there anyway to do this? I've looked in the google-api-php-client library but it's not there yet. Is there any other way or am I out of luck?
The search API is only enabled for Python Java and Go, as Mario pointed out.
I would look into the modules documentation and try to separate your logic. Your search API can be the only module that isn't in PHP. There is no other solution for your problem unfortunately.
The team promised that a REST API would be made available at Google I/O 2011. I haven't been able to find any follow ups since.
https://www.youtube.com/watch?v=7B7FyU9wW8Y#t=2088
You CAN now access the Search API natively from PHP.
The library is in alpha but should make its way to release fairly soon.
It uses the Google Protocol Buffers so it's the same level of abstraction as the Python/Java/Go SDKs
https://github.com/tomwalder/php-appengine-search
Feedback appreciated!
I ran into this problem previously, so wrote a sample PHP+Python module pair to allow access to search via URL fetch to a Python module.
https://github.com/tomwalder/phpne14-text-search
I have a similar scenario as you. This might not be the best solution, but I've solved it as follows:
I've created a Python module using Google Endpoints API to expose a set of methods capable of sending and receiving JSON formatted data via HTTP GET or POST. These methods allow me create Documents and Indexes or do queries.
My PHP client, simply calls these urls and passes appropriate data.
So effectively I have a wrapper around the search API and the python stuff is hidden inside.

XML-RPC HTTP request with App Inventor?

I am trying to build out an app that will communicate with Tapatalks API, it uses XML-RPC HTTP requests, I can do post/get requests with the web component. I cannot find anything on modifying the web component/Blocks to create said XML-RPC encoding. Any resources? Tips of what to search, or insight would be appreciated.
This is the API php code I am trying to interact with https://github.com/tapatalk/tapatalk-phpbb3/blob/master/root/mobiquo/function/login.php
Here is my app blocks currently and I am getting a code 200
Here is my blocks editor : http://imgur.com/uEyOb8i
What you tried looks very strange, but at least you tried something ;-) ...
You somehow mixed a POST and GET request, there is no header defined and where is the xml format?
Probably it helps to read this first: What is a XML-RPC Request
Then concerning App Inventor you can try to use the following blocks.
EDIT: update of the screenshot to make things clearer.

Passing a Soap message from PHP

I know almost nothing about PHP. So I have a coworker doing the PHP stuff. It's not going well so I need some help.
Here is the task.
Receive a SOAP message (in this case from SalesForce) in a PHP site on Linux.
Take that soap message and simply pass it along to a web service (as a parameter) running on a windows server. Which I am writing. The reason we need to do it this way is far beyond the scope of this question. We have no choice.
The communication between the PHP page and the webservice works. The problem is taking the soap message and sending it to the method in the webservice as a parameter.
Here is the big question:
How can we accept a soap message and send it as a prameter. Even converting it to a simple string and sending that would work.
Thanks in advance.
It looks to me like you need to use a SOAP handler, and then reformat the request accordingly.
I'd suggest you start by taking a look at NuSOAP, which provides PHP SOAP support. Go here - for a nifty tutorial on NuSOAP

Categories