Click here to get back home

Perl server, SOAP and .NET client, how to communicate

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl server, SOAP and .NET client, how to communicate Vic Russell 08-19-2005
Get Chitika Premium
Posted by Vic Russell on August 19, 2005, 3:26 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Posted by Ian Wilson on August 19, 2005, 5:25 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
SOAP server & client problem November 8, 2007, 1:10 pm
SOAP server & client problem November 8, 2007, 3:05 pm
Setting up a SOAP client that is technically a server August 23, 2007, 6:04 am
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:26 pm
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:27 pm
Soap Server in perl October 23, 2006, 9:00 am
SOAP Http Client October 1, 2004, 3:50 am
SOAP::Lite and complex client call parameter July 20, 2006, 3:37 pm
Client-Server Communication in Perl CGI November 14, 2008, 7:57 am
Re: Perl SOAP Server - Returns Strings Arrays with WSDL Compliant Names May 8, 2008, 8:25 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap