dhanya_piit 0 Newbie Poster

hi,
am using netbeans to write restful web services.
I want to pass an input and the again retrieve it and display the out put in XML form.

i am giving the path as
@Path("book\{name}\{author}")

and using it as an argument

public Book getxml(@PathParam("zip") String zip,@PathParam("div") String div)
{

}

am getting an error
illegal argument

wat may be wrong?
please help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.