Expand my Community achievements bar.

How to genrate stub for livecycle webservices?

Avatar

Former Community Member

Hi,

To invoke the Adobe Livecycle WS using Webserice API, I tried to genrate the proxy

client stub using ant script, but I am getting follwoing error

java.lang.IllegalStateException: Fault WsdlMessage {http://adobe.com/idp/services}RenderFormException doens't have a single part.

WSDL url used to genrate proxy client is as follows ...

http://servername:portnumber/soap/services/FormsService?WSDL

please help

Regards

jittakal

1 Reply

Avatar

Former Community Member

I also tried following command

wscompile -gen:client -d build -classpath build c:\config-wsdl.xml

content of config-wsdl.xml file are as follows ...

<configuration

  xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">

  <wsdl location="http://server:port/soap/services/EmailService?WSDL" packageName="staticstub"/>

</configuration>

Error Message is:

error: fault "RenderFormException" refers to message "RenderFormException", but the message has no parts

I tried workaround solution as mention in bug : https://bugs.adobe.com/jira/browse/FB-11668

Workaround (if any):
As a workaround the user must could either remove the fault message, either add one part to it.

And its working fine.