Raminderjeet Singh created AIRAVATA-576:
-------------------------------------------

             Summary: Renew Messagebox subscription Unexpected character 'h' 
(code 104) in prolog; expected '<'
                 Key: AIRAVATA-576
                 URL: https://issues.apache.org/jira/browse/AIRAVATA-576
             Project: Airavata
          Issue Type: Bug
            Reporter: Raminderjeet Singh


I am trying to reconnect to already created message box using 
MessageBoxNotificationHandler.renewMessageboxSubscription method

method parameters are 
renewMessageboxSubscription(subscription.getMessageBoxEPR().getAddress() , 
subscription.getSubscriptionID(), topic, xpath, true);

I am getting following error while creating EndpointReference endpointReference 
= EndpointReferenceHelper.fromString(epr);  Any idea what need to be passed? I 
am passing 
http://<ip>:8080/axis2/services/MsgBoxService/clientid/1517fdad-7319-4a29-a686-d08b7a09bfee
 as epr. 

org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: 
Unexpected character 'h' (code 104) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1]
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:260)
        at 
org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:133)
        at 
org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:502)
        at 
org.apache.axis2.addressing.EndpointReferenceHelper.fromString(EndpointReferenceHelper.java:157)
        at 
org.apache.airavata.workflow.tracking.impl.subscription.MessageBoxNotificationHandler.renewMessageboxSubscription(MessageBoxNotificationHandler.java:131)
        at 
org.apache.airavata.notification.NotificationListener.main(NotificationListener.java:49)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to