Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Invocation of service URL used in datacontrol failed with status code 404 Not Found

DLopezJul 27 2015 — edited Aug 6 2015

Hi,

Using JDeveloper 12.1.3.0

I'm creating a Rest WebService using EJB.

When I test my service it works fine but when I added to the client, when finish loading it returns me this error

404.png

The method that I have created in the service needs two arguments, BigDecimal and String

@GET

@Produces("application/xml")

@Path("/{key}/{name}")

public UsersList checkUser(@PathParam("key") BigDecimal key, @PathParam("name") String name) {

    UsersList listOfUsers = new UsersList();

    listOfUsers.setUsersList(SessionBean.getUsersCheck(key, name));

    return listOfUsers;

}

but in my DataControl, in the client it appears like this

check.png

I have created all over again the Client and it always appear this way.

Does the link that I define in the service is wrong /{key}/{name} or in the datacontrol /##key##/##name## ??

Thanks

This post has been answered by DLopez on Aug 6 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2015
Added on Jul 27 2015
8 comments
1,252 views