You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by na...@apache.org on 2001/06/28 23:16:39 UTC
cvs commit: xml-soap/java/samples/interop EchoTestClient.java
nagy 01/06/28 14:16:38
Modified: java/samples/interop EchoTestClient.java
Log:
Changed the call to the SOAPMappingRegistry constructor because the one which was being called no longer exists.
Revision Changes Path
1.2 +2 -2 xml-soap/java/samples/interop/EchoTestClient.java
Index: EchoTestClient.java
===================================================================
RCS file: /home/cvs/xml-soap/java/samples/interop/EchoTestClient.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- EchoTestClient.java 2001/05/11 19:06:34 1.1
+++ EchoTestClient.java 2001/06/28 21:16:37 1.2
@@ -82,7 +82,7 @@
*/
public class EchoTestClient
{
- SOAPMappingRegistry smr = new SOAPMappingRegistry(Constants.NS_URI_CURRENT_SCHEMA_XSD);
+ SOAPMappingRegistry smr = new SOAPMappingRegistry();
public static final String DEFAULT_URL = "http://nagoya.apache.org:5089/soap/servlet/rpcrouter";
public static final String ACTION_URI = "http://soapinterop.org/";
@@ -225,4 +225,4 @@
e.printStackTrace();
}
}
-}
\ No newline at end of file
+}
Re: Urgent help needed
Posted by Naggi Rao <na...@softhome.net>.
hi,
My bad ..
I could use & and stuff...
----- Original Message -----
From: "Naggi Rao" <na...@softhome.net>
To: <xm...@apache.org>
Sent: Friday, June 29, 2001 8:42 AM
Subject: Urgent help needed
> Hi all,
> Its more of a XML Question ..
> I am passing a few elements (as literal XML) to my WebServvice as :
> <someelement>
> <pair name="abc" value="xyz"/>
> </someelement>
> It works fine for cases above :
>
> but the XML Parser get very very angry if I passed :
>
> <someelement>
> <pair name="abc" value="xyz & def"/>
> </someelement>
>
> I was wondering if there was a decent way to escape the & sign ?
> May be URLEncoding the characters before stuffing them in to literal XML ?
> Would appreciate a quick fix !!
>
> Cheers,
> Naggi
>
>
>
>
Re: Urgent help needed
Posted by Norbert Wagner <nw...@software-kombinat.de>.
>I was wondering if there was a decent way to escape the & sign ?
try these:
'&' -> &
'<' -> <
'>' -> >
ciao,
Norbert
Re: Urgent help needed
Posted by Naggi Rao <na...@softhome.net>.
hi ,
Thanxs for the help..
But it was really my bad I had not read the XML Spec..
----- Original Message -----
From: "Oleg Dulin" <du...@acm.org>
To: <so...@xml.apache.org>
Cc: <xm...@apache.org>
Sent: Friday, June 29, 2001 5:26 PM
Subject: Re: Urgent help needed
> > I was wondering if there was a decent way to escape the & sign ?
> > May be URLEncoding the characters before stuffing them in to literal
> > XML ?
> > Would appreciate a quick fix !!
>
> URLEncoding worked for me, but you can also use & (I think) to
> represent an ampersand.
>
>
> --
> Regards,
> Oleg Dulin
>
> --=+ Dulin Research +=--
> http://www.olegdulin.com/
>
Re: Urgent help needed
Posted by Oleg Dulin <du...@acm.org>.
> I was wondering if there was a decent way to escape the & sign ?
> May be URLEncoding the characters before stuffing them in to literal
> XML ?
> Would appreciate a quick fix !!
URLEncoding worked for me, but you can also use & (I think) to
represent an ampersand.
--
Regards,
Oleg Dulin
--=+ Dulin Research +=--
http://www.olegdulin.com/
Urgent help needed
Posted by Naggi Rao <na...@softhome.net>.
Hi all,
Its more of a XML Question ..
I am passing a few elements (as literal XML) to my WebServvice as :
<someelement>
<pair name="abc" value="xyz"/>
</someelement>
It works fine for cases above :
but the XML Parser get very very angry if I passed :
<someelement>
<pair name="abc" value="xyz & def"/>
</someelement>
I was wondering if there was a decent way to escape the & sign ?
May be URLEncoding the characters before stuffing them in to literal XML ?
Would appreciate a quick fix !!
Cheers,
Naggi