cancel
Showing results for 
Search instead for 
Did you mean: 

Deployment Failed: Error Parsing XML

rajendiran
Champ in-the-making
Champ in-the-making
Hi,

I designed a workflow which has web service configuration in Service Task. When I deployed .bar file, I got Deployment Failed: Error Parsing XML. I attached the bpmn file herewith for your reference. Please suggest to fix this issue.

Thanks in advance.

Regards,
Rajendiran R
7 REPLIES 7

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

the stacktrace says:

Caused by: org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 69; UndeclaredPrefix: Cannot resolve 'tns:ReqMessage' as a QName: the prefix 'tns' is not declared.

could you rename tns:ReqMessage?

Regards
Martin

rajendiran
Champ in-the-making
Champ in-the-making
Dear Mr. Martin,

Thanks for your suggestion. I modified the bpmn file accordingly. Also I followed on of the discussion in forum. But no luck. I am still getting "Error Parsing XML". I attached the updated bpmn file and the concrete wsdl.

Please help me to fix this issue.

Thanks and Regards,
Rajendiran R

martin_grofcik
Confirmed Champ
Confirmed Champ

rajendiran
Champ in-the-making
Champ in-the-making
Dear Mr. Martin,

The unit test that you sent to me works fine if I run it in eclipse. Also, I built a web service client plug-in in eclipse which also hits the web service. I used the same end point URL in the bpmn file in import tag. When I deploy the bpmn file thro' API and explorer, I am getting "Error Parsing XML" exception.

Please help me to fix this. I attached the detailed error message, bpmn file and concrete wsdl for your kind reference.

Note :: The web service invocation works fine in all other mediums. But getting error when Activiti engine deploys the bpmn code. I may seek apologies if this query is not relevant to what can be discussed in Activiti Forum.

Thansk adnd Regards,
Rajendiran R

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,


Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Could not resolve URL "http://localhost:8888/Process Definitions/BooksDetailsWebService?wsdl".
Caused by: java.net.SocketException: Unexpected end of file from server

Is it possible to download WSDL file?

Regards
Martin

rajendiran
Champ in-the-making
Champ in-the-making
Dear Mr. Martin,

No. I am not able to download the wsdl thro' internet explorer. But I am able to hit the service and get the response from web service thro' java client call, SOAPUI and from TIBCO web service client code. The most recent approach I had taken is that I copied the endpoint URL from SOAPUI and pasted in import tag in bpmn file. The activiti engine is trying to deploy the bpmn file and throws the above mentioned error after a long delay.

Regards,
Rajendiran R

kerrymanam
Champ in-the-making
Champ in-the-making