java.io.File in web services with an unclear mind and very upset since i was not even close to my intention :((you know, type of the
file parameter in the following service becomes string in the client side..
@WebMethod(operationName = "retrieveFile")
@Oneway
public void retrieveFile(@WebParam(name = "file")
File file) {
}
the wsdl
<xs:complexType name="retrieveFile"> <xs:sequence> <xs:element name="file" type="xs:string" minOccurs="0"/> </xs:sequence></xs:complexType>so, what to do ?
lucily, a friend in the team has searched for it before and came back with a solution:
http://m-button.blogspot.com/2008/07/building-jax-rpc-or-jax-ws-webservices.html
it is checked, guaranteed to work..
Hiç yorum yok:
Yorum Gönder