Hi,
We are getting below error when we make call like token = getJiraSoapServiceLocator().getJirasoapserviceV2().login(userName, password); and token is not retrieved.
Exception in thread "main" javax.xml.ws.WebServiceException: Unexpected response element {http://soap.rpc.jira.atlassian.com}loginResponse expected: {http://cmajira.lss.emc.com/rpc/soap/jirasoapservice-v2}loginResponse
at com.sun.xml.internal.ws.client.sei.ResponseBuilder$RpcLit.readResponse(ResponseBuilder.java:587)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
Please let us know if you have any solutions .
Fixed. In my WSDL, I replaced the string before "expected" by the string after "expected". In this case, you have to write "http://cmajira.lss.emc.com/rpc/soap/jirasoapservice-v2" instead of "http://soap.rpc.jira.atlassian.com" in the <wsdl:input name="loginRequest"> of the WSDL.
Hello,
I have the same problem. Have you fix this error? Can you explain what have you done?
Thanks!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.