Just used PHP5's SoapClient class to connect to the epicor web services endpoint. Gotta use SOAP.
We have multiple portal type applications that are critical to our business operations. Epicor is replacing some, but not all of them. The remaining portal applications will be tightly bound to Epicor, and Epicor to it. The portal applications typically run on a LAMP stack server (Linux,Apache,Mysql, PHP) and are indeed PHP website applications.
1) What is the preferred method for the PHP application to retrieve, insert, and update records in Epicor? I understand through Service Connect, but I need some detail. We would like to HTTP POST to a URI and get back an XML or JSON result set. How do we set this up in Service Connect?
2) Epicor will occasionally need to request some things from our PHP application which is located on the internet. The PHP application has a REST API that serves JSON and I understand Epicor can make requests to REST api's. How do I set that up in Service Connect? Specifically, I tried adding a rest reference and didn't know what to do at the "Import Schema" step. When trying to add a Rest Operation to a workflow, there wasn't any Request ID available to choose.
Any help is greatly appreciated thanks in advance.
1) What is the preferred method for the PHP application to retrieve, insert, and update records in Epicor? I understand through Service Connect, but I need some detail. We would like to HTTP POST to a URI and get back an XML or JSON result set. How do we set this up in Service Connect?
2) Epicor will occasionally need to request some things from our PHP application which is located on the internet. The PHP application has a REST API that serves JSON and I understand Epicor can make requests to REST api's. How do I set that up in Service Connect? Specifically, I tried adding a rest reference and didn't know what to do at the "Import Schema" step. When trying to add a Rest Operation to a workflow, there wasn't any Request ID available to choose.
Any help is greatly appreciated thanks in advance.
For question (1), it sounds like Service Connect might not be the tool you want (or need) to use. In some ways, Service Connect is a generic tool for walking through a series of calls to the Epicor business objects, which you can expose through web services. You might want your web app to just directly call those web services, so it can get it's response back immediately and process.
--- In vantage@yahoogroups.com, "ralmon64" <ralmon@...> wrote:
>
> We have multiple portal type applications that are critical to our business operations. Epicor is replacing some, but not all of them. The remaining portal applications will be tightly bound to Epicor, and Epicor to it. The portal applications typically run on a LAMP stack server (Linux,Apache,Mysql, PHP) and are indeed PHP website applications.
>
> 1) What is the preferred method for the PHP application to retrieve, insert, and update records in Epicor? I understand through Service Connect, but I need some detail. We would like to HTTP POST to a URI and get back an XML or JSON result set. How do we set this up in Service Connect?
>
> 2) Epicor will occasionally need to request some things from our PHP application which is located on the internet. The PHP application has a REST API that serves JSON and I understand Epicor can make requests to REST api's. How do I set that up in Service Connect? Specifically, I tried adding a rest reference and didn't know what to do at the "Import Schema" step. When trying to add a Rest Operation to a workflow, there wasn't any Request ID available to choose.
>
> Any help is greatly appreciated thanks in advance.
>
I would like to create a PHP application that consumes an Epicor Web Service. I have ran the WS-Config tool and enabled the POService. What kind of connectivity options does Epicor provide? Is it SOAP? Is there a RESTful API I can consume (that would be preferableÂ…). If so, what are the URL's I use to send HTTP requests? Is there any documentation for this stuffÂ…
Ideally I could send RESTful requests over HTTP for testing and over HTTPS for production and it would be fantastic if the requests returned JSON responses.
Thanks.
Ideally I could send RESTful requests over HTTP for testing and over HTTPS for production and it would be fantastic if the requests returned JSON responses.
Thanks.
--- In vantage@yahoogroups.com, "adamnoffie" <ygroups.adamleer@...> wrote:
>
> For question (1), it sounds like Service Connect might not be the tool you want (or need) to use. In some ways, Service Connect is a generic tool for walking through a series of calls to the Epicor business objects, which you can expose through web services. You might want your web app to just directly call those web services, so it can get it's response back immediately and process.
>
> --- In vantage@yahoogroups.com, "ralmon64" <ralmon@> wrote:
> >
> > We have multiple portal type applications that are critical to our business operations. Epicor is replacing some, but not all of them. The remaining portal applications will be tightly bound to Epicor, and Epicor to it. The portal applications typically run on a LAMP stack server (Linux,Apache,Mysql, PHP) and are indeed PHP website applications.
> >
> > 1) What is the preferred method for the PHP application to retrieve, insert, and update records in Epicor? I understand through Service Connect, but I need some detail. We would like to HTTP POST to a URI and get back an XML or JSON result set. How do we set this up in Service Connect?
> >
> > 2) Epicor will occasionally need to request some things from our PHP application which is located on the internet. The PHP application has a REST API that serves JSON and I understand Epicor can make requests to REST api's. How do I set that up in Service Connect? Specifically, I tried adding a rest reference and didn't know what to do at the "Import Schema" step. When trying to add a Rest Operation to a workflow, there wasn't any Request ID available to choose.
> >
> > Any help is greatly appreciated thanks in advance.
> >
>
Just wondering if you found how to consume an Epicor Web Service via PHP. I also need a solution for this.
--- In vantage@yahoogroups.com, "ralmon64" <ralmon@...> wrote:
>
> I would like to create a PHP application that consumes an Epicor Web Service. I have ran the WS-Config tool and enabled the POService. What kind of connectivity options does Epicor provide? Is it SOAP? Is there a RESTful API I can consume (that would be preferableÂ…). If so, what are the URL's I use to send HTTP requests? Is there any documentation for this stuffÂ…
>
> Ideally I could send RESTful requests over HTTP for testing and over HTTPS for production and it would be fantastic if the requests returned JSON responses.
>
> Thanks.
>
>
> --- In vantage@yahoogroups.com, "adamnoffie" <ygroups.adamleer@> wrote:
> >
> > For question (1), it sounds like Service Connect might not be the tool you want (or need) to use. In some ways, Service Connect is a generic tool for walking through a series of calls to the Epicor business objects, which you can expose through web services. You might want your web app to just directly call those web services, so it can get it's response back immediately and process.
> >
> > --- In vantage@yahoogroups.com, "ralmon64" <ralmon@> wrote:
> > >
> > > We have multiple portal type applications that are critical to our business operations. Epicor is replacing some, but not all of them. The remaining portal applications will be tightly bound to Epicor, and Epicor to it. The portal applications typically run on a LAMP stack server (Linux,Apache,Mysql, PHP) and are indeed PHP website applications.
> > >
> > > 1) What is the preferred method for the PHP application to retrieve, insert, and update records in Epicor? I understand through Service Connect, but I need some detail. We would like to HTTP POST to a URI and get back an XML or JSON result set. How do we set this up in Service Connect?
> > >
> > > 2) Epicor will occasionally need to request some things from our PHP application which is located on the internet. The PHP application has a REST API that serves JSON and I understand Epicor can make requests to REST api's. How do I set that up in Service Connect? Specifically, I tried adding a rest reference and didn't know what to do at the "Import Schema" step. When trying to add a Rest Operation to a workflow, there wasn't any Request ID available to choose.
> > >
> > > Any help is greatly appreciated thanks in advance.
> > >
> >
>