Access my localhost jira soap from another ip

Mohan Kiran November 27, 2012

I have installed Jira in my local machine and i got the wasdl file like

http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl, i am able to access this in my local machine, but

when i am trying to access this from another IP it was saying the error like below

SoapFault: SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:8080/rpc/soap/jirasoapservice-v2?wsdl' :

even i tried with my ip address in place of localhost, it was not taking same error. can you help me out in this..

Regards

Mohan Kiran

1 answer

0 votes
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2012

Im not clear what you're doing with the WSDL. Have you consdiered using the pre-build client JAR?

Its a pre-built client JAR, so you can leap past this WSDL stuff and get on with what you're actually trying to do?

Mohan Kiran November 27, 2012

Hi Brook, I have installed JIRA in one machine.for ex : (http://aa.aa.aaa.aa:8080 )

So my soap service url will be http://aa.aa.aaa.aa:8080/rpc/soap/jirasoapservice-v2?wsdl this.

And i am trying to create an issue by accessing this soap client url from another Ip machine

ex : (http://bb.bb.bb.bb). So am geeting error like

SoapFault: SOAP-ERROR: Parsing WSDL: Couldn't load from http://aa.aa.aaa.aa:8080/rpc/soap/jirasoapservice-v2?wsdl :

Note : I have not installed JIRA in machine (http://bb.bb.bb.bb). JIRA was installed in (http://aa.aa.aaa.aa:8080 ),

Are you clear now?

Regards

Mohan Kiran

Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 27, 2012

Yes, I understand, but my comments hold. You are building your own SOAP wrapper, but apparently are not setting the endpoint URL (at all?) and it is just defaulting to the 'localhost' address which wont work.

By referring to a pre built library, I was hoping you could see the examples and leverage that, saving you time.

Suggest an answer

Log in or Sign up to answer