unable to invoke webservices

Hi 

i am trying to modify a webservice from ADF to AgilePLM. i am passing all the required values for webservices to work. 

(String) call.invoke(new Object[] { userName });

the webservice is failing at this step with error as “ERROR ( )     – (404)Not Found”

is there any configurations to be made from agile side to invoke the webservices

Regards
Srini

Add Comment
7 Answer(s)

Hi Srini,
The 404 returned makes me think only to the fact that the URL of the webservice is wrong.

Agile Angel Answered on July 26, 2016.
Add Comment

Use SOAPUI to test your call as Antonio has said either your calling the wrong url or you message is malformed and the method you want to use it not being idnetified from it.

Agile Angel Answered on July 26, 2016.
Add Comment

Hi Antonio,

there is no issue in the webservice URL, as the same URL i am using in the older environemtn. as the agile is upversioned so we are testing the webservices for new Agile. during this time. i got the error.

Just wnated to know if there any webservice connections that i need to make in the new agile for connecting the webservices or invoke the call.

regards
Srini

Agile Angel Answered on July 26, 2016.
Add Comment

What versions have you transitioned between?  Webservice engine changed between 9.3.3 and 9.3.4 Also are you sure your new environment was installed with the same paths as your old one as this would make a difference in the URL used to access the webservices.

Agile Angel Answered on July 26, 2016.
Add Comment

Hi Adrain,

my agile is getting upversioned from 9.3.2 to 9.3.3 and i have modified the corresponding properties file  to connect to the new agile accoordingly and i can see the new URLs pointing to the new agile in log file.

Regards
Srini

Agile Angel Answered on July 26, 2016.
Add Comment

Hi, in 9.3.2 and 9.3.3 the webservice should be called in the same way (as mentioned by Adrian) following the path:

http://AGILE_SERVER:7001/Agile/integration/services/MyFirstWebService 

if you try to open the webservice using a browser, are you able to see it properly?

Agile Angel Answered on July 26, 2016.
Add Comment

Hi. yes you are correct.. i tested the URL in the browser and it is fine..

“Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here…”

even after checking all the possible ways, the call.invoke is not happening.. so wondering which part that i missed.. can any one throw some ideas where to check for conenctions
Regards
Srini

Agile Angel Answered on July 26, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.