Expand my Community achievements bar.

Processes as Web Service

Avatar

Level 10

In LiveCycle 7x it is possible to make a process type to bahave as a Web Service.

Is there a similar option available in ES?

If your answer is 'create a SOAP endpoint', i have one more question on that:

1. SOAP endpoint will be automatically created. But need to know where to find the WSDL url for that web service?

for e.g in 7x we can see all the web services in the url http://localhost:8080/services. Whats the alternate in ES?

In 7x its very easy as we just need to check the 'Web Service' option in the Workflow Properties dialog. What about ES??

Thanks in advance

Nith

10 Replies

Avatar

Level 10

"Whats the alternate in ES?"

In ES the web services are located at : http://<servername>:<port>/soap/services/NameOfProcess?wsdl

Jasmin

Avatar

Level 10

I am getting an Internal Server error when i try to open the specific URL.

HTTP error code is 500.

Does it something related to problems in installation?

Thanks,

Nith

Avatar

Level 10

Can you paste your url, so I can take a look at the format?

Jasmin

Avatar

Level 10

my process name is Process1

so the url I tried is http://localhost:8080/services/Process1?wsdl

One more question is:

How will we differentiate a normal Process and a Process running as a Web Service?

Thanks

Avatar

Level 10

You have the url wrong.

The url should be http://localhost:8080/soap/services/Process1?wsdl

"How will we differentiate a normal Process and a Process running as a Web Service?"

There is no difference. A process is a process. Web service is just a way to invoke that process. You can also use email, watch folder, Workspace, API, Flex Remoting, but that doesn't change the way the process works. Those are just different ways to start it.

Jasmin

Avatar

Level 10

I got answer for my question. Many thanks for that.

Also i tried the  new URL and is woking fine (when i try to locate the WSDL) in the browser.

Still i have got one more issue.

When i try to call this web service from a PDF (using DataConnection), it is not working.

And when i try to test this web service using "Web Service" service, i'm getting the following error:

"Web Service is not in RUNNING state".

I ve confirmed that my SOAP end poing is enabled. What may be the problem??

Thanks in advance,

Nith

Avatar

Level 10

Is your process active? In Workbench, do you see a little green checkmark on the icon?

Jasmin

Avatar

Former Community Member

Are you using Acrobat or Reader to call the web service?

Paul

Avatar

Level 10

Again, the problem is caused in the evaluation version. In original version, this error is not coming.

Thanks a lot.

Avatar

Level 10

This issue is no more with the original version.

Nith