Hi all,
 
I am using axis2 1.1.
 
I have some hard time creating a URI object with a SIP uri. Any help on
such initilization would be welcomed.
 
My service sends back I am trying to send back to a request a SIP uri
(i.e. a non generic URI) but the client does get a satisfactory
response. (definition of the parameter is just <xsd:element
name="participant" type="xsd:anyURI"/>)
 
I tried the following URI initialization.
 
1) URI uri = new URI("sip",[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ); Then the field received at the client
side is empty.
 
2) 
URI uri = new URI();
uri.setScheme("sip");
uri.setHost("org.apache.com");
uri.setPort(5060);
uri.setUserinfo("bob");
 
Then I got the following answer sip://[EMAIL PROTECTED]
 
I can't get rid of the two /.
 
How should I initialize the URI object for an non generic (like SIP) URI
?
 
Best Regards.
Herve


 

Reply via email to