Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

soaplite · SOAP::Lite for Perl (soaplite.com)

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1205
  • Category: Protocols
  • Founded: Jan 28, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 2884 - 2913 of 6629   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2884 From: "ddiiddoo2000" <doron.ido@...>
Date: Fri Aug 1, 2003 10:06 pm
Subject: This is killing me !
ddiiddoo2000
Send Email Send Email
 
For several days now I'v been trying to make this work, still
nothing.
I tryed any combination I could think of, of the 3 components that
seems to have impact on the connectivity between the dispatcher, the
module that contains the services and the client:
dispatch_to , proxy and uri.
  I keep getting an error msg that says:
===========================================
Failed to access class (callexpert::doron::Test): Can't locate
callexpert/doron/Test.pm in @INC (@INC
contains: /callexpert/doron/Test) at (eval 134) line 3.

   So here is my question:
What should I put in those 3 variables if I'm running a soap daemon
server called test_WS_server.pl located in /callexpert/doron/
and calling a function called test in Test.pm located in the same
directory.
currently it looks like this :

in the client:
=================
$host = "http://tti-ce:18885/callexpert/doron/test_WS_server.pl";
$ns = '/callexpert/doron/Test';
my $soap = SOAP::Lite
   ->readable(1)
   ->uri($ns)
   ->proxy($host);
in the server:
===================
   my $daemon = SOAP::Transport::HTTP::Daemon
     -> new (LocalPort => 18885)
     -> dispatch_to('/callexpert/doron/Test')
   ;

   TIA
   Doron

#2885 From: "Duncan Cameron" <duncan_cameron2002@...>
Date: Sat Aug 2, 2003 1:57 am
Subject: Re: This is killing me !
duncan_camer...
Send Email Send Email
 
On  2003-08-01 22:06:00  ddiiddoo2000 <doron.ido@...> wrote:

> For several days now I'v been trying to make this work, still
>nothing.
>I tryed any combination I could think of, of the 3 components that
>seems to have impact on the connectivity between the dispatcher, the
>module that contains the services and the client:
>dispatch_to , proxy and uri.
> I keep getting an error msg that says:
>===========================================
>Failed to access class (callexpert::doron::Test): Can't locate
>callexpert/doron/Test.pm in @INC (@INC
>contains: /callexpert/doron/Test) at (eval 134) line 3.
>
>  So here is my question:
>What should I put in those 3 variables if I'm running a soap daemon
>server called test_WS_server.pl located in /callexpert/doron/
>and calling a function called test in Test.pm located in the same
>directory.
>currently it looks like this :
>
>in the client:
>=================
>$host = "http://tti-ce:18885/callexpert/doron/test_WS_server.pl";
>$ns = '/callexpert/doron/Test';
>my $soap = SOAP::Lite
>  ->readable(1)
>  ->uri($ns)
>  ->proxy($host);
>in the server:
>===================
>  my $daemon = SOAP::Transport::HTTP::Daemon
>    -> new (LocalPort => 18885)
>    -> dispatch_to('/callexpert/doron/Test')
>  ;
>

Assuming that your file Test.pm contains a package called simply Test, and
not something like Foo::Bar::Test, then this should work:

in the client:
=================
$host = "http://tti-ce:18885";
$ns = 'urn:Test';
my $soap = SOAP::Lite
   ->readable(1)
   ->uri($ns)
   ->proxy($host);

in the server:
===================
   my $daemon = SOAP::Transport::HTTP::Daemon
     -> new (LocalPort => 18885)
     -> dispatch_to('/callexpert/doron')
   ;

Note that the client doesn't need to know the path of the server daemon, just
the server name and port number. The uri() gives in effect the package name.
The dispatch_to() gives, in this example, the path to the directory. This will
provide access by the server to all modules in the specified directory.

Regards
Duncan

#2886 From: "rwainwright33" <richard@...>
Date: Sat Aug 2, 2003 5:19 pm
Subject: Retrieving Method names
rwainwright33
Send Email Send Email
 
I am would like to retrieve the names of the methods described in a
wdsl document so that I can pipe them to a easysoap++ program that
will call them.
I can retrieve the details of a business using the UDDI:Lite module,
and display them within a web interface.  The <accessPoint> data gives
me a starting point, but I know not the methods I need to connect to.

So idealy I want to read the wsdl doc, and display the methods
available.  With the number of attributes required.

ie

Service : Calcualtor,
AccessPoint : http://www.someurl.com/endpoint
Methods: Add() - args: num1 num2
          mult() - args: num1 num2
          etc.

Is this possible?

Many thanks

#2887 From: Bruno Mattarollo <bruno.mattarollo@...>
Date: Mon Aug 4, 2003 10:21 pm
Subject: POP3 and smtp soap ...
brunomattarollo
Send Email Send Email
 
Hello,

I am new to SOAP::Lite and I am trying to get SOAP messages passed from
a client via SMTP and the server reading via POP3...

My client is:

use SOAP::Lite;
SOAP::Lite
    -> uri('http://localhost/Demo')
    -> proxy('mailto:myemail@...', smtp => 'smtp', From =>
'me@...', Subject => 'SOAP message')
    -> hi();

My server is composed of two files, Demo.pm and soap.pop3:
Demo.pm:

package Demo;
    sub hi {
      open(FD, "test.dat") or die("Couldn't open test.dat\n");
      print FD "hello, world";
      close(FD);
    }
1;

soap.pop3:

#!perl -w

use SOAP::Transport::POP3;
use Demo;
my $server = SOAP::Transport::POP3::Server
    -> new('pop://myemail:mypassword@pop.myserversomewhere.com')
    -> dispatch_to('Demo');
do { $server->handle } while sleep 10;

When I use "use SOAP::Lite +trace;" in soap.pop3 I get these messages:

Unquoted string "trace" may clash with future reserved word at
soap.pop3 line 4.
SOAP::Serializer::new: ()
SOAP::Deserializer::new: ()
SOAP::Parser::new: ()
SOAP::Server::new: ()
SOAP::Server::handle: ()
SOAP::Deserializer::deserialize: ()
SOAP::MIMEParser::new: ()
SOAP::Parser::decode: ()
SOAP::SOM::new: ()
SOAP::Data::new: ()
SOAP::Data::DESTROY: ()
(eval):
SOAP::Server::handle:
SOAP::Fault::new: ()
SOAP::SOM::DESTROY: ()

But my sub "hi" in Demo.pm is not called, otherwise I would have the
file created, right? I am lost! You will noticed by now that I am new
to this :) Please have mercy :)!

Thanks in advance for pointers, suggestions, ideas.

Cheers

/B

--
Bruno Mattarollo <bmatt@...>
Currently in: Amsterdam, The Netherlands

#2888 From: "BlastingBubbles" <blastingbubbles@...>
Date: Tue Aug 5, 2003 2:10 pm
Subject: No deserializer for schema int
BlastingBubbles
Send Email Send Email
 
Hi all,

I'm using a soap::lite for a simple service returning a single
integer parameter.  I'm trying to connect to it using Apache Soap.
When I look a the SOAP response it contains the integer value it is
supposed to return.  However apache soap generates an error

[SOAPException: faultCode=SOAP-ENV:Client; msg=No Deserializer found
to deserialize a 'http://www.w3.org/1999/XMLSchema:integer'
using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Deserializer
found to deserialize a 'http://www.w3.org/1999/XMLSchema:integer'
using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.]

-----------------------------------------------------------

#!/usr/bin/perl

use SOAP::Transport::HTTP;

	 SOAP::Transport::HTTP::CGI
   		 ->dispatch_to('Hallo')
   		 ->handle;
exit;

package Hallo;

sub single_param {
	 $ret = '456';
	 return ($ret);
}

---------------------------------------

     try {
       URL url = new URL("http://mywebservice/url.cgi");
       String urn = "urn:Hallo";
       Call call = new Call();
       call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
       call.setTargetObjectURI(urn);
       call.setMethodName("single_param");

       Response response = call.invoke(url, "");

       if (response.generatedFault()) {
         Fault f = response.getFault();
       }
       else {

             Parameter ret = response.getReturnValue();
         }
     }
     catch (Exception e) {}

#2889 From: "joycecho1121" <joycecho1121@...>
Date: Tue Aug 5, 2003 3:44 pm
Subject: Method Call
joycecho1121
Send Email Send Email
 
I'm trying to call a method example: FOO::Name->find()

In my server, I call FOO but in my client I can't access any of the
methods in FOO::Name.

use SOAP::Lite +autodispatch =>
   uri => 'http//joyce.net',
   proxy => 'http://localserver/soap.cgi';


my ($exist) = FOO::Name->find($domainname);

in my SOAP.cgi, i call

SOAP::Transport::HTTP::CGI
   -> dispatch_to('/home/joyce', 'FOO')
   -> handle;

CAN SOMEONE PLEASE HELP?

#2890 From: "supertux1" <supertux1@...>
Date: Tue Aug 5, 2003 8:19 pm
Subject: BUG! mod_perl and SOAP::Lite
supertux1
Send Email Send Email
 
Hi,

I think I've found a bug in SOAP::Lite that prevents it from
working under mod_perl.

For this configuration, my mod_perl and apache version is
1.3.27 -- the absolute latest at the time of this message.
SOAP::Lite is .55

Here is my soap server (soap3.cgi):

#!/usr/bin/perl -w
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI->dispatch_to(@INC)->handle;

Here is the client:

#!/usr/bin/perl -w

use SOAP::Lite;

my $soap = SOAP::Lite
                 ->uri('https://127.0.0.1/UWDS/WSTest')
                 ->proxy('https://127.0.0.1/basic/soap3.cgi')
                 ->on_debug( sub { print @_; } );

my $result = $soap->Test(data=>"Jeremy");

   unless ($result->fault) {
     print $result->result() . "\n";
   } else {
     print join ', ',
       $result->faultcode,
       $result->faultstring;
   }

sub SOAP::Transport::HTTP::Client::get_basic_credentials {
  return 'TestUser1' => 'blah';
}

UWDS::Test is a module installed in the system, in @INC.

The first few times it runs, it works fine:

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-
ENV:Body><namesp1:TestResponse
xmlns:namesp1="https://wrath.doit.wisc.edu/UWDS/WSTest"><s-gensym3
xsi:type="xsd:string">Hello World, Hello Jeremy</s-
gensym3></namesp1:TestResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Hello World, Hello Jeremy

After 3-4 times it starts to fail:

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><SOAP-
ENV:Fault><faultcode xsi:type="xsd:string">SOAP-
ENV:Client</faultcode><faultstring xsi:type="xsd:string">Denied
access to method (Test) in class (UWDS::WSTest)
at /usr/lib/perl5/site_perl/5.6.1/SOAP/Lite.pm line 2128, <DATA>
line 422.
</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
SOAP-ENV:Client, Denied access to method (Test) in class
(UWDS::WSTest) at /usr/lib/perl5/site_perl/5.6.1/SOAP/Lite.pm line
2128, <DATA> line 422.

This occurs when the script is run under both mod_perl's
Apache::PerlRun and Apache::Registry, but it works just fine
when run as a plain old cgi. I even compiled Apache with
--disable-rule=EXPAT as some have suggested, but that doesn't
help.

Any Ideas? Anyone?

#2891 From: Jeremy Scott <supertux1@...>
Date: Wed Aug 6, 2003 8:06 pm
Subject: Re: BUG! mod_perl and SOAP::Lite
supertux1
Send Email Send Email
 
Hi, thanks for the response...

I actually ended up doing what you
suggested but with a little bit of a twist.

Dispatching to @INC is dangerous, but what
I didn't show was how I mitigate that with
security checks.

(I had thought that my extra code caused the
bug, but it didn't so I left it out for clarity.)

I had another server that uses the "on_action"
handler to read $ENV{REMOTE_ADDR},
$ENV{REMOTE_USER} or a certificate subject,
and the called soapaction method.

With these three pieces of information, a
custom routine (in the on_action handler)
does an authorization check against an LDAP
server with custom application schema.
(Is this user from ip allowed to run the method?)

If they're not authorized, it dies with a soap fault.
If they are, it goes ahead and dispatches.

So what I did was turn my cgi into an Apache
module by using Apache::SOAP as a template.
I added the 'on_action' option to Apache::SOAP
along with some other custom code and called it
Apache::UWDS. Also, this runs over SSL and each
client has an SSL certificate with a subject that
represents their user name.

Here's the config. Note the evil <Perl> tags.

<Location "/cert">
     SSLVerifyClient require
     SSLOptions +StdEnvVars
     SetHandler perl-script
     PerlHandler Apache::UWDS
     <Perl>
      push @{ $Location{"/cert"}->{PerlSetVar}}, [
dispatch_to => join(",",@INC) ];
     </Perl>
</Location>


So, now I have a secure and easy to administer
webservice platform. All I do is install the perl
modules I want people to access on the webservers,
give them client certificates, and add an application
entry to our LDAP server with the module::methods
they're allowed to call and it's done. No messing with
the webserver for new modules/new users! :)

I ran this code last night, and it ran 300,000 soap
calls without leaking memory/blowing up, crashing the
LDAP server etc... I use ResourcePool for making the
LDAP connections.



> Luckily there is a very simple solution ... mod_soap
> which is documented in the SOAP::Lite
> pods (perldoc SOAP::Lite ... or
> http://www.soaplite.com). This will register yoru
> SOAP server
> as a pure mod_perl handler and take care of the
> dispatching for you. All you need to do is
> configure the httpd.conf file to point in the right
> direction.
>
> Also this means you won't have to/be able to do the
> very scary and dangerous
> ->dispatch_to(@INC) ...
>
> -Chris
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#2892 From: "Randy J. Ray" <rjray@...>
Date: Wed Aug 6, 2003 8:13 am
Subject: Re: Method Call
rjray_perl
Send Email Send Email
 
On 2003.08.05 08:44, joycecho1121 wrote:
> I'm trying to call a method example: FOO::Name->find()
>
> In my server, I call FOO but in my client I can't access any of the
> methods in FOO::Name.
>
> use SOAP::Lite +autodispatch =>
>   uri => 'http//joyce.net',
>   proxy => 'http://localserver/soap.cgi';
>
>
> my ($exist) = FOO::Name->find($domainname);
>
> in my SOAP.cgi, i call
>
> SOAP::Transport::HTTP::CGI
>   -> dispatch_to('/home/joyce', 'FOO')
>   -> handle;

Well, to begin with you are dispatching to 'FOO', and not 'FOO::Name'.
However, without more in the way of client and server code (and the FOO::Name
class, for that matter), it's hard to say any more than that.

Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray        Campbell, CA    http://www.rjray.org   rjray@...

Silicon Valley Scale Modelers: http://www.svsm.org

#2893 From: Gary Miller <miller_2022@...>
Date: Thu Aug 7, 2003 7:48 am
Subject: AMAZING !!!!! AMAZING !!!! ( DON'T MISS IT !!!!!!!)
miller_2022
Send Email Send Email
 

Bismillah Rahman Raheem
(In the name of Allah, The Merciful, The Gracious)

[Home Page]    Hit Counter

The media classifies Muslims as "terrorists," "highjackers" and "kidnappers." 
So why would anyone even look at Islam?
Why are so many priests and preachers going to Islam?

What happened to this man?
   
         Good question. . . .

Read the story of his search for "Purpose of Life" before Islam
"Skip" Estes - Before Islam (1988)
[before]

He learned the truth about Islam & became a Muslim
Sheik Yusuf Estes - National Muslim Chaplain (Imam)
[after]

For Background Information BEFORE ISLAM        [click here]

For the Story of "How I Came to Islam"                [click here]

Priests & Preachers Enter Islam (more details) ________[click here]

Other Religious And Political Leaders Accepted Islam  [click here]

Read A Christians Reply to Preachers Entering Islam [click here]


Email request for information on "Christian Preachers Entering Islam" sent to me from Japanese newspaper staff writer:

I received an email from a Japanese newspaper requesting information about Americans coming to Islam. Here is a copy of the email:


(Copy of Email requesting information on Christians who convert to Islam - for Japanese newspaper)

Subj: Convert story
Date: 07/28/2000 02:35:30 Eastern Daylight Time
From:  (Takashi Settai)

To: sheikyusuf@...

Dear Mr. Yusuf Estes:

My name is Takashi Settai. I am a staff writer of Nikkei, a Japanese newspaper, based in New York. I am writing an article about Muslims in America now and I am looking for a Caucasian guy who recently converted from Christian to Muslim. I happened to find your home page on the Internet and became very interested in your personal story. If you are OK to answer my questions about your conversion and call or return an e-mail to me ASAP, I very much appreciate it.

Nikkei is a Japanese newspaper, considered the Wall Street Journal of Japan, that is published twice daily with a nationwide circulation of about 3 million. In addition, we have an international circulation in Japanese and a weekly edition in English. The number of Nikkei offices worldwide stands at 37 bureaus on five continents and employs over 4,000 persons.

Thank you for your help on this matter in advance.

Takashi Settai
Nikkei
212-261-6327 or 212-888-5741
settai_ho@...[email]


Here is my reply email to the Japanese newspaper staff writer, Takashi Settai:

From the Desk of: Chaplain Yusuf Estes
TO: Takashi Settai
Staff Writer for Nikkei (Japanese Newspaper)
New York, New York
RE: Your email request for more information on former Christians coming to Islam

[email copy below]


Peace be unto all those who follow right guidance.
Greetings Takashi:

Thank you for your kind letter and for your offer of publishing the story of my
"converting" from Christianity to Islam.

Before I begin, I must mention that I am leaving on a flight from here (Washington, DC) to Atlanta in 30 minutes to speak at a special event there. You had requested information on how a Christian priest (a Catholic priest friend of ours named Peter Jacobs), a preacher (myself) and a reverend (my father came last) came to Islam. This email will serve as our permission to publish any information published on our website or in this email for your newspaper. You may feel assured that we are most happy to cooperate with you in any way possible.

I could perhaps begin by saying, that I have personally witnessed many "converts" coming into Islam in this country (and Mexico as well). But many people consider my own personal experience to be rather unique in that it was not simple one person changing their religion, but rather an entire household of very religious Christians of three different denominations [Catholic, "Born Again" and Protestant) all "converting" to Islam.


[The reason I choose to put the word "convert" in brackets is because the understanding as taught by the prophet Muhammad, peace be upon him, is that all children are born in a state of "Islam" (surrender, submission and obedience to Almighty God) and it is their parents who raise them up as Jews, Christians, Fire Worshippers. So, Muslims consider it more like returning or "reverting" to Islam.]

But please do not get the wrong idea, although we entered into Islam within a close proximity in time we each individually came to the conclusion that Islam was our own personal choice and it was not an instant decision as a group coming over to Islam.

While we would all agree that there are always going to be a certain number of people who, for whatever reason, will change from one religion to another, we must also quickly agree that it is highly unusual to find a number of priests, preachers, reverends and holy men (and women) from various faith groups, simultaneously entering the same faith around the world.

My own personal story begins on the Texas/Mexican border in December of 1990. I was born a white, Anglo-Saxon Protestant and at that time I was working very actively toward preaching "Born Again" Christianity to anyone and everyone that would listen. I was definitely NOT LOOKING FOR ISLAM. In fact, religious leaders of Christianity and Judaism would have us believe, that Islam is a cult of some kind with the followers worshipping a black box in the desert and kissing the ground five times a day. Additionally, we have been programmed by the media to classify most Muslims as "terrorists," "highjackers" and "kidnappers." So why would anyone even look at Islam?
??

Good question . . .
All my close friends at that time were either preachers, ministers or very much active and involved in preaching a message of "Saving Grace by blood sacrifice from the Holy Trinity of Jesus."  

One preacher I knew used to carry a huge (12' long) cross on his back and walk alongside the highway to attract people to "come to Jesus." 

Another preacher used to take me into Mexico and we would preach in the square or market to individuals about the "salvation of Christ." We were even arrested in the night by the Mexican Federal Police and investigated (Mexico is predominantly Catholic and does not encourage other religions).

Ah alas, I feared that I would run out of time before completing this story for you. I must go immediately to the airport now....


(Good news! Since then, I did find the time to complete the story -- in 2 parts)

Before Islam (1988)
[before]
Background Story - Before Islam

Why Are Priests & Preachers Entering Islam?
(Good Question)

Read . . . .


[after]
How I Came to Islam

Part I [click here] for the background story BEFORE ISLAM
Part II [
click here] for the story "How I came to Islam"


Please feel free to write to me and to discuss this subject and other stories of priests and preachers coming to Islam...

Best Regards and May Allah Guide us all in all that is best, Ameen.
Yours Very Truly,

Yusuf Estes
Yusuf Estes.

National Muslim Chaplain.
Today Islam Project - USA.

 
 
Jews and Muslims Joined Together In Friendly Dialogue To Discuss & Debate Islamic Monotheism


 

Issues Pertaining to Jewish Converts to Islam

Converts Stories
Hebrew Quran
Yiddish Quran
Discussion Forum updated_001.gif
Pictures of Jewish Converts to Islam
Rabbinical Lies & Attempts to Capture & Bring New Converts Back to Rabbism
Rabbi Eliezer Challenges God and God Admits Defeat
Israeli From Brooklyn Turns to Islam
I Was A Jew & Now I Am Salafi. What Does That Mean?
Why I Reverted From Judaism To Islam Audio
Qamar al Khattab(Luna Melul Cohen) Interview
   donate Support Us donate
Jewish Converts To Islam Forum

Prayer Center

 
Ablution (Wuduu) video
Fajr (Dawn) video
Duhr (Noon) video
Asr (Mid-Day) video
Maghrib (Sun Set) video
Isha (Night) video
Learn Arabic on-line
Prayer times world wide
 
 
 

Reverts Beware

Hizb Ut Tahrir & al-Muhajiroun
Here is a link to H.T.'s grave errors
Jamat ut Tabligh
Sufi & Sufism
Shites
Ahmadis
Khalifites (19ers)
Habashis
Nation of Islam
Quranites
Why we must respect our Muslim rulers and not try to kill them or overthrow them like many misguided Muslims preach.

What Is Taqiyyah? (Shiaism)

Harun Yahya (Sufi Layman)updated_001.gif

JEWS BEWARE

Convicted Felon Rabbisupdated_001.gif
Yeshiva &Chasidish Scams & Scandals updated_001.gif
Rabbi Sucking Blood From A Babies Penis
Chabad's Lost Son
Rabbi Interprets Bowl Movements as Messianic Sign
Rabbi Tells of Conversation With Messiah
Arab Rabbi Calls on God to Annihilate Arabs

 Rabbi Forbids Nose Picking on Sabbath

Root & Branch Scam updated_001.gif

Is "israel" Really a Happy Entity?

Contact Us

 

Hadeeth

Sahih Bukhari

Sahih Muslim

Maliks Muwatta

Forty Hadith Qudsi

An Nawawi's Forty Hadith

 

Comparative Religons Judaism (Rabbism) Vs. Islam

Is Kosher Halal?

Filthy Talmud Trans.

Midrash Tanchumah

Medieval Rabbinical Literature

The Guide To The Perplexed

The Dead Sea Scrolls

What Is The Talmud / Gemara

My Heros The Taliban

The Truth Start to Finnish

Conversion of an ex-Taliban Prisoner

 

 

In the Name of Allah -
the Most Beneficent - the Most Merciful

Members Of Bani Yisraeel That Left Rabbism For True Monotheism Ahlus Sunnah wJammah

WELCOME TO

Jewish  Converts To Islam

Fadal,bidaq tishrub qahawah?

Contact Us

email jewstoislam.com

26/06/03 Very IMPORTANT we are in dire need of

a Program to help us in our Da3owa efforts. The price is

$79.95 and we are requesting a donation to cover this

expense.

26/06/03  ãåã äÍä äæÑíÏ ÈÑäãÌ áíÓÚÏäÇ Úáì ÇáÏÚæÇ ÇáÓÚÑ 80ÏæáÇÑ ÇÐÇ ÊÓÊÊíÚ Çä

 ÊÚÊíäÇ ÇáãÇá  ÓäÔßæÑß ßËíÑ

ÌÒß Çááå ÎíÑÇ

ÇÎæß Ýí Çááå ÚÈÏÇáÑÍãä ÇÈä íæÓÝ ÇáÎØÇÈ

 

 

See How Rabbis Can Lie Based On Gemara

how to become a muslim

Telephone Us At

972-64-526-744(International)

064-526-744 (In Occupied Palestine 48)

050-210-396 (In Occupied Palestine 67)

JewsToIslam.com are memebers of the Da3owa Salafia Movement in al Qudds,Falestine. Alhumdulilah, we are glad to tell our viewers that last Saturday April 19th 2003 we had a all day seminar in Beer Nebalah over 200 Muslims Salafia under 1 roof!! **SUBHANALLAH** Brothers from all over Falestine (Jenin,al Khalil, Beit le7em,Taibeh,Beit Naqouba,Nablus,Qaqiliya,Rammallah,Juljuliya,al Qudds,Aazaria etc etc) from most large cities we had brothers in attendance accept for Ghaza who are under Jewish lockdown. We heard duross from our our esteemed Shaikh and other students of knowledge from 9am till 4:30 pm. To learn more about  the da3owa Salafia in al Qudds please contact yousefalkhattab@...

Jewstoislam.com Sufi Free in 2003

Inshaallah!!!

Jewstoislam.com Daily News....Rabbi Ezra Zifrani and Daughter Charged in Court Scheme....April 26, 2003, 4:59 AM EDT NEW YORK (AP) _ Authorities arraigned a Brooklyn Rabbi and his daughter, charging them with plotting to bribe a state Supreme Court judge who is at the center of a court corruption scandal. Rabbi Ezra Zifrani, 66, and his daughter Esther Weitzner, 36 are accused of allegedly delivering cash to a courthouse fixer to bribe Judge Gerald Garson, who was hearing arguments in Weitzner's divorce case. The two were arraigned in a Brooklyn criminal court on Friday. Garson is facing charges of taking cash and gifts to influence divorce cases. Both Zifrani and Weitzner are charged with one count of conspiracy in the fifth degree and could receive one year in jail if convicted. The alleged fixer, Nissim Elmann was also arrested as part of the plot. Prosecutors said the two tried to pay him $5,000. Weitzman's lawyers said their client denied the charges and also that her divorce is still pending. The state Supreme Court scandal has led to seven arrests and prompted a call for closer monitoring of which judges receive which cases. ..........Top Rabbi Accused Of Sexual Harassment: "Israeli Press" OCCUPIED JERUSALEM, April 25 – One of Israel’s two top Rabbis is accused of sexually harassing four men of various ages and from various sectors of society, reported an Israeli newspaper on Friday, April 25. The four men accused the chief rabbi of Israel’ Ashkenazi Jews of central and eastern European origin Yona Metzger of repeatedly "groping" them, Ma’ariv said on its front page, adding that they passed a lie detector test. The daily Haaretz, for its part, revealed that Metzger was barred by the chief rabbinate from running for Tel Aviv rabbi in 1998 following several complaints. Metzger and his Sephardic counterpart, Shlomo Amar, representing Mediterranean and Middle Eastern Jews, were both elected for 10 years on April 15. Metzger denied the allegations against him and said that they were an attempt to sully his name. **Complaints **Ma’ariv received the first account of sexual harassment some three weeks before the elections for chief rabbi which took place on April 14.According to the account, given to the paper by a man named David, the rabbi allegedly touched him on the chest and arm and slipped his hand under David's shirt while the two were talking at wedding celebration in the late 80's.At the beginning of April, a religious man told the paper that he recently had met Metzger, during which the rabbi asked him to remove his shirt and then allegedly proceeded to grope his arm and chest. The third case, which took place in 1998 when Metzger was the Chief Rabbi of Tel Aviv, came to the attention of Chief Israeli Rabbi Eliyahu Bakshi-Doron who confirmed the incident, said the"Israeli" daily.Bakshi-Doron is probably overwhelmed with guilt, because despite his active opposition to Metzger's appointment as the chief rabbi of Tel Aviv in 1998, he had assisted the whitewashing of allegations that were made at the time against Metzger, said the paper. It was thanks to this whitewashing that Metzger was able to circumvent the most serious stumbling-block in his career, it added. Documents obtained by Haaretz include "the whitewash paper," which paved the way for Metzger to become Israel's Ashkenazi chief rabbi. The troubling suspicions have never been cleared up. Metzger’s office told Haaretz on Friday that, "Only a police investigation into the mercenaries trying to slander the Rabbi will shed light on the truth reveal who stands behind those filing the complaints." **Forgery**The rabbi was suspected of forging the signature of his driver as a witness on various ketubot - Jewish wedding contracts. Allegedly, the object was to enable Metzger to conduct as many wedding ceremonies as possible in a single evening. Allegations have also been made that Metzger had demanded payment from couples he had wed, in violation of the law, Haaretz reported. In December 1998, Metzger got the document that saved him. He had to withdraw from the race for the post of the chief rabbi of Tel Aviv. Metzger's permit to serve as a chief rabbi of a major city was taken away a few months before, in the wake of suspicions that he had violated Jewish and Israeli law on various occasions. Eventually three of Israel's senior rabbis were appointed by the Chief Rabbinate to decide whether to give him back his permit. One of the complaints against Metzger- Haaretz said- was filed by a senior Tel Aviv prosecutor who recalled that the rabbi was given an envelope with NIS 360 at a wedding. "After the ceremony, a few minutes after the rabbi had received the envelope, he came to the parents of the bride and groom and complained that the amount was insufficient. This created a disturbance and a bad atmosphere ... To end the disgrace, the bride's father took money out of his pocket and doubled the amount ... The couple sent a letter to the honorable Rabbi Lau, who was then the chief rabbi of Tel Aviv. After that, Rabbi Metzger returned the extra amount. ......Hasidic Jew Attacks A Muslim Woman in Brooklyn Toy Store....April 23, 2003  A Muslim woman shopping in a Brooklyn toy store was assaulted by a man who slurred Arabs and flung a Mr. Potato Head at her, police said yesterday.The suspect's father later said his son apparently acted out of grief because a friend in Israel had been killed by a suicide bomber.Max Abrahamowitz, 29, a Hasidic Jew, was shopping at Toys "R" Us in Bensonhurst on Monday afternoon when he encountered a 23-year-old Italian Muslim woman, police said.The suspect yelled a number of anti-Arab slurs, police said, then flung the toy, still in its box, at her, bruising her upper left arm.When police showed up, Abrahamowitz, a student in Israel who was visiting family in Borough Park, told them he "doesn't like Arab people," a police source said. Abrahamowitz was arrested on charges of assault and aggravated harassment.Abrahamowitz' father, who refused to give his name, said his son acted out of grief. "I'm very surprised," he said, "but one of his friends was killed by a suicide bomber, a woman."Two Rabbis jailed for cheating New York Hasidic community NEW YORK (Reuters) - Two men who operated a racketeering ring in an ultra-orthodox Jewish community and cheated individuals, banks and businesses out of millions of dollars were sentenced to long prison terms Thursday. Mordechai Samet, who was convicted by a jury in White Plains, New York, federal court in December, was sentenced to 27 years and three months in prison for operating the ring in the Hasidic village of Kiryas Joel in Orange County, 40 miles northwest of New York City. He was also ordered to forfeit $4 million to the government. Samet's co-defendant, Chaim Hollender, received a prison term of 12 years and seven months. He was ordered to forfeit almost $2 million. ''This case is extraordinary because of the breadth and scope of the frauds committed, the period of time over which they were committed and the chutzpah of the people committing them,'' U.S. District Judge Colleen McMahon said in sentencing the men. The men were convicted of racketeering, money laundering conspiracy, mail fraud, wire fraud and bank fraud. In addition to forfeiting millions, they were ordered to make restitution in the amount of $2.2 million. The racketeering organization, which prosecutors called the Samet group, used a variety of fictitious identities to commit an array of frauds and net $4 million by the time it was halted.According to the charges, the crimes included soliciting people for bogus lotteries, defrauding banks with counterfeit checks, submitting false death claims to insurance companies and using false information to get tax refunds. According to the charges, the crimes included soliciting people for bogus lotteries, defrauding banks with counterfeit checks, submitting false death claims to insurance companies and using false information to get tax refunds. The men were also charged with cheating credit card companies by fraudulently disputing charges and claiming goods or services had not been received. Prosecutors said the duo laundered the proceeds in the United States and overseas, concealing their activities and funding additional frauds.

ÇáÚÑÈíøÉ

 

The Noble Qur'an 29:46
And argue not with the people of the Scripture (Jews and Christians), unless it be in (a way) that is better (with good words and in good manner, inviting them to Islâmic Monotheism with His Verses), except with such of them as do wrong, and say (to them): "We believe in that which has been revealed to us and revealed to you; our Ilâh (God) and your Ilâh (God) is One (i.e. Allâh), and to Him we have submitted (as Muslims)."

ya mon islam be comin ur way mon ,don't be thinkin that it dont!

We Support Islamic Globalization

Hit Counter

Hadith - Bukhari and Muslim, vol. 4, no. 255, p. 158.
It has been confirmed that the Prophet Peace and Blessings be upon him said:
"Three persons will get their reward twice [i.e. a double reward].  [One is] a person who has a slave girl and he educates her properly and teacher her good manners properly [without violence] and then manumits and marries her.  Such a person will get a double reward.  [Another is] a believer from the People of the Scriptures who has been a true believer [in his Prophet Peace and Blessings be upon him], and then he believes in the Prophet [Muhammad Peace and Blessings be upon him].  Such a person will receive a double reward.  [The third is] a slave man who observes Allah's rights and is sincere to his master [and observes the rights of his master]."

email jewstoislam.com

If there are any issues you would like to see addressed on this site, Contact Us We would love to hear from you.

 

Read my Dreambook guestbook!
Sign my Dreambook!

Dreambook

 

If your questions regarding Islam are not answered on this site it is because you have not asked us the question. If we do not have the answer we will tell you so after exhausting all avenues available to us.

 

 

Visit The First World-wide Islamic Radio!

 Tali Tubbies

Abdel Rahman al Khattab's Karate & Judo Pics

Memorize & Practice Juzz 'Amma
(the 30th Portion of the Qur'an)
Surah-by-Surah, with Correct Tajweed

NEW
Just released: The 'Wahhabi' Myth
Order your copy of The 'Wahhabi' Myth
 

WAHHABISM
Does the Creed of 'Wahhabism' Differ From That of Orthodox Islam?
Do 'Wahhabis' Support Suicide Bombings?
Do 'Wahhabis' Support Acts of Terrorism?
Are 'Wahhabis' a Dangerous and Treacherous People?
Do All Western Intellectuals View 'Wahhabism' Negatively?
Does Osama Bin Laden Like 'Wahhabis'?
Do 'Wahhabis' like Osama Bin Laden?
What do 'Wahhabis' Think About 9/11?
Has Stephen Schwartz Spoken Justly About 'Wahhabism'?

View the full-size book cover of The 'Wahhabi Myth' by Haneef James Oliver

OSAMA BIN LADEN
Is Osama Bin Laden Really a 'Wahhabi'?
What Sect Does Osama Bin Laden Belong to?
What Kind of Effect has Osama Bin Laden's Sect Had on the World?
Does Osama Bin Laden Like 'Wahhabis'?
Do 'Wahhabis' Like Osama Bin Laden?
Is Fighting the U.S. Osama Bin Laden's Front for a Different Objective?
Has the British Government Aided Osama Bin Laden's Sect?

 

WHO'S WHO?
Who is Allah?
What is a 'Wahhabi' and What is 'Wahhabism'?
What is a Salafi and What is Salafism?
The Group: al-Ikhwan al-Muslimun (The Muslim Brotherhood) of Egypt
Who was Sayyid Qutb?
Who was Abu Alaa Maududi?
Who was Hasan Al-Banna?
What is a Sufi and What is Sufism?
What is a Khariji and Who are the Khawarij?

TERRORISM
What is Terrorism?
Were the 9/11 Hijackers Salafis/'Wahhabis'?
Do 'Wahhabis' Support Suicide Bombings?
Do 'Wahhabis' Support Acts of Terrorism?
What do 'Wahhabis' Think About 9/11?

CRITICAL ANALYSIS
Judith Shulevitz, The New York Times
Roger Hardy, the BBC
Robert Worth, The New York Times
Michael Doran, Princeton University
Ingrid Mattson, Hartford Seminary
David F. Forte, The National Review
John Hooper and Brian Whitaker, The Guardian
John V. Whitbeck, The Daily Star
Stephen Schwartz, The National Review

 

"When I Opened the Quran the First time I could not put it down, It is what I always believed Judaism was supposed to be!! Every criticism of the Jews was precise but not hateful , it was Allah showing the Jews how to correct ourselves and return to true Monotheism" Yousef al Khattab

Learn About Islam

              Aqeedah & Minhaj

Salaah

Ramadan

Hajj

Zakat

Who Are Islam's Scholars ?

Weak Hadeeth

Ask The Imam

The Reason For The Downfall Of The Ummah And Its Remedies 

 

Audio Files

Aqeedah

Quran

Sunnah

Fiqh

                              Muslim Identity

                             Islamic Series

WEB RESOURCES

English Quran

Hebrew Quran
Yiddish Quran
English Quran Subject Index 
Islamic Wallpaper
Receive Daily Ayat Translation
Reading The Quran
Listen To Islamic Speeches On-Line
Important Islamic Issues news - international press
Radio Quran
Find An Islamic Community Near You
Islamic Speeches
Misconceptions
Download Books

 
 

Free Books

Ramadan & Fasting
Fiqh-us-Sunnah
Ar-Raheeq Al-Makhtum
Al-Uboodiyah
Waasityaah
The Criterion
Prophets Prayer
Prophets Sermon

RECOMMENDED SITES

 
www.fatwa-online.com
www.salafiaudio.com

www.therighteouspath.comr

www.spubs.com

www.salafitalk.net
http://www.qss.org/

                       http://iisca.org/

       http://www.eat-halal.com
http://www.muslimcreed.com/

http://www.calgaryislam.com/

http://www.thewahhabimyth.com/

Typical Rabbinical Judaism

News In Palestine

Arabic Links

Imaam ibn Baaz

Imaam ibn Uthaimeen

Imaam Muqbil

Shaikh Rabee

http://www.almajd.tv/

 

According to Quran

and Sunnah

Abuse

Adam

Adultery

Alcohol

Auliya

Beard

Bid'a

Cats

Children

Corrupt Leaders   

Dating   

Dawat-us-Salafiyyah

Differing

Doors

Dogs

      Dreams   

Fear Allah  

Funerals

Gambling

Greeting

Hair

Incense

Istikharah

Jihad

Jinn

Kindness

Kuf (Disbelief)

Male Hijab

Manners  

Marriage

Mawlid

Men

Music

Names  

Names of Allah  

Niqab  

Paradise

Pictures

Pregnancy & Newborns

Prejudice

Qadar

Ramadan

Reverts

Riba

Rings

Salah

Science of Hadith

Sickness

Sneezing

Suicide

Supplications  

Travel

Taubah

Unity of Religions

Women

Yawning

 

 

 
                                    Google

Hey Mind Ur Own Bussness!!!


You Have Permission To Copy and Distribute on conditions: (1) Include the Source  (2)  Not For Profit Purposes.
 © 2003 copyrighted by JewsToIslam.com This Site is Powered by Tasjeel

 

The creator of THIS PAGE or the ISP(s) hosting any content on this site take NO responsibility for the way you use the information provided on this site. These files and anything else on this site are here for private purposes only and SHOULD NOT BE DOWNLOADED OR VIEWED WHATSOEVER! If you are affiliated with any government, or ANTI-Piracy group or any other related group or were formally a worker of one you CANNOT enter this web site, cannot access any of its files and you cannot view any of the HTML files. All the objects on this site are PRIVATE property and are not meant for viewing or any other purposes other then bandwidth space. DO NOT ENTER whatsoever! If you enter this site you are not agreeing to these terms and you are violating code 431.322.12 of the Internet Privacy Act signed by Bill Clinton in 1995 and that means that you CANNOT threaten our ISP(s) or any person(s) or company storing these files, cannot prosecute any person(s) affiliated with this page which includes family, friends or individuals who run or enter this web site.

IF YOU DO NOT AGREE TO THESE TERMS THEN LEAVE.

Attention: the Webmaster, the Provider, the Host and all people helped to have this site  do not take any responsibility for contents of this homepage!!! 

 


IF YOU DO NOT AGREE TO THESE TERMS THEN LEAVE

 



Post your free ad now! Yahoo! Canada Personals

#2894 From: Kristian Rink <afterimage@...>
Date: Fri Aug 8, 2003 9:10 am
Subject: message inside a soap server [request for help]
afterimage@...
Send Email Send Email
 
Hello all,...

...first of all, being new to here: Hello. I'm Kris. :) Being using
perl for quite a lot of years now, I some days ago stepped into
SOAP::Lite more or less out of necessity rather than "just"
interest. Actually, I am about to create a "server" which processes
data coming from an already existing client. Time for that is
_rather_ short, and in the end I am left with learning about SOAP
and (mostly) XML in less than two weeks. :/ Anyhow, thanks to
"Programming Web Services In Perl" (great book, a really worthy
buy), I by now at least have a slight idea of what is goin' on, and
also wrote some small try-out SOAP client/server pairs for example
to modify images using perlmagick - funny. :)

Anyhow, as for my special task, there are two issues I don't yet
know how to solve:

(a) As stated, the client which should connect to our server already
exists. To write the server I was given some sample SOAP messages of
what the client sends to the server, and which I need to process in
order to put the data submitted somewhere. Question: Inside a
SOAP::Transport::HTTP::CGI, how do I get the unmodified, full
message that has been posted to that server? How can I access the
XML code itself to extract what I need?

(b) Those messages will come with a .zip file attached which
contains several files; and, as for the client, message and file can
be transmitted using MIME and DIME. How do I access this file that
is attached to the message (actually, the file name itself is, as a
string, found in the xml part of that message).

Sorry if those questions are probably rather stupid or too obvious,
perhaps I'll find out how to do this, myself, by movin' on reading
through the documentation I found, but I'd really be thankful for
some hints on that...

TIA, have a nice weekend anyone. :)
Kris

--
unschuldig? nicht verdächtig? unbeobachtet? vergiß es ...

gegen eine gesellschaft der totalen überwachung - aufwachen
und mitmachen:  http://www.stop1984.org

#2895 From: "sharmila_pillai" <sharmila_pillai@...>
Date: Fri Aug 8, 2003 11:13 am
Subject: Receiving hash - SOAP::Lite server side
sharmila_pillai
Send Email Send Email
 
Hi,

  I am trying to send a hashmap to a soaplite server.

Client code (snippet) looks like:

%params = ("program" => "fasta3");
...
my $som = $soap->testhash(SOAP::Data->type(map=>\%params)-
>name('params'));
print $som=>result."\n";

The soap request looks like:
<namesp1:testhash xmlns:namesp1="TestHash">
       <params xsi:type="apachens:Map">
         <item>
           <key xsi:type="xsd:string">program</key>
           <value xsi:type="xsd:string">fasta3</value>
        </item>
     </params>
</namesp1:testhash>

The server code snippet:

my ($self, %params) =@_;
my $value = $params{"program"};
...

I have gone through the mails here and think the above server code is right. But
I
don't seem to be able to access the hash. What am I doing wrong? Is there some
module I am missing?

Will appreciate any help.
TIA,
Sharmila.

#2896 From: Kristian Rink <afterimage@...>
Date: Fri Aug 8, 2003 11:21 am
Subject: message inside a soap server [request for help]
afterimage@...
Send Email Send Email
 
Hello all,...

...first of all, being new to here: Hello. I'm Kris. :) Being using
perl for quite a lot of years now, I some days ago stepped into
SOAP::Lite more or less out of necessity rather than "just"
interest. Actually, I am about to create a "server" which processes
data coming from an already existing client. Time for that is
_rather_ short, and in the end I am left with learning about SOAP
and (mostly) XML in less than two weeks. :/ Anyhow, thanks to
"Programming Web Services In Perl" (great book, a really worthy
buy), I by now at least have a slight idea of what is goin' on, and
also wrote some small try-out SOAP client/server pairs for example
to modify images using perlmagick - funny. :)

Anyhow, as for my special task, there are two issues I don't yet
know how to solve:

(a) As stated, the client which should connect to our server already
exists. To write the server I was given some sample SOAP messages of
what the client sends to the server, and which I need to process in
order to put the data submitted somewhere. Question: Inside a
SOAP::Transport::HTTP::CGI, how do I get the unmodified, full
message that has been posted to that server? How can I access the
XML code itself to extract what I need?

(b) Those messages will come with a .zip file attached which
contains several files; and, as for the client, message and file can
be transmitted using MIME and DIME. How do I access this file that
is attached to the message (actually, the file name itself is, as a
string, found in the xml part of that message).

Sorry if those questions are probably rather stupid or too obvious,
perhaps I'll find out how to do this, myself, by movin' on reading
through the documentation I found, but I'd really be thankful for
some hints on that...

TIA, have a nice weekend anyone. :)
Kris

--
unschuldig? nicht verdächtig? unbeobachtet? vergiß es ...

gegen eine gesellschaft der totalen überwachung - aufwachen
und mitmachen:  http://www.stop1984.org

#2897 From: "Thom Eden" <the@...>
Date: Fri Aug 8, 2003 3:54 pm
Subject: Re: Receiving hash - SOAP::Lite server side
teden
Send Email Send Email
 
Sharmila,

I am doing something similar in nmy SOAP server. Here is my client call:

	 my $inputSoapParam = SOAP::Data
		 -> name('inputStruct')
		 -> type('SOAPStruct')
		 -> value(\%xmlInput)
	 ;

	 my $response = SOAP::Lite
		 -> readable(1)
		 -> uri($uri)
		 -> proxy($PROXY)
		 -> getDecision($inputSoapParam)
	 ;

and here is the catcher's mitt in the server:

sub getDecision {
	 my ($obj, $in) = @_;
	 my $out = &do_something(%{$in});
}

and it works fine for me. I haven't done any performance testing, though, so I
am not sure how optimal this is...

Thom Eden

---------- Original Message ----------------------------------
From: "sharmila_pillai" <sharmila_pillai@...>
Date: Fri, 08 Aug 2003 11:13:18 -0000

>Hi,
>
> I am trying to send a hashmap to a soaplite server.
>
>Client code (snippet) looks like:
>
>%params = ("program" => "fasta3");
>...
>my $som = $soap->testhash(SOAP::Data->type(map=>\%params)-
>>name('params'));
>print $som=>result."\n";
>
>The soap request looks like:
><namesp1:testhash xmlns:namesp1="TestHash">
>      <params xsi:type="apachens:Map">
>        <item>
>          <key xsi:type="xsd:string">program</key>
>          <value xsi:type="xsd:string">fasta3</value>
>       </item>
>    </params>
></namesp1:testhash>
>
>The server code snippet:
>
>my ($self, %params) =@_;
>my $value = $params{"program"};
>...
>
>I have gone through the mails here and think the above server code is right.
But I
>don't seem to be able to access the hash. What am I doing wrong? Is there some
>module I am missing?
>
>Will appreciate any help.
>TIA,
>Sharmila.
>
>
>
>
>To unsubscribe from this group, send an email to:
>soaplite-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

#2898 From: Byrne Reese <byrne@...>
Date: Sat Aug 9, 2003 12:23 am
Subject: Re: Receiving hash - SOAP::Lite server side
byrnereese
Send Email Send Email
 
My experience is that this works great for SOAP::Lite to SOAP::Lite
servers and clients, but not for the WS community at large.

I personally would avoid SOAPStructs like the plague. :)

Instead, you relegate yourself to a more "manual" process for deriving
your XML instead of using native Perl data structures.

Check out: http://majordojo.com/soaplite/ for some HOWTOs on this topic.

On Fri, 2003-08-08 at 08:54, Thom Eden wrote:
> Sharmila,
>
> I am doing something similar in nmy SOAP server. Here is my client
> call:
>
>       my $inputSoapParam = SOAP::Data
>             -> name('inputStruct')
>             -> type('SOAPStruct')
>             -> value(\%xmlInput)
>       ;
>
>       my $response = SOAP::Lite
>             -> readable(1)
>             -> uri($uri)
>             -> proxy($PROXY)
>             -> getDecision($inputSoapParam)
>       ;
>
> and here is the catcher's mitt in the server:
>
> sub getDecision {
>       my ($obj, $in) = @_;
>       my $out = &do_something(%{$in});
> }
>
> and it works fine for me. I haven't done any performance testing,
> though, so I am not sure how optimal this is...
>
> Thom Eden
>
> ---------- Original Message ----------------------------------
> From: "sharmila_pillai" <sharmila_pillai@...>
> Date: Fri, 08 Aug 2003 11:13:18 -0000
>
> >Hi,
> >
> > I am trying to send a hashmap to a soaplite server.
> >
> >Client code (snippet) looks like:
> >
> >%params = ("program" => "fasta3");
> >...
> >my $som = $soap->testhash(SOAP::Data->type(map=>\%params)-
> >>name('params'));
> >print $som=>result."\n";
> >
> >The soap request looks like:
> ><namesp1:testhash xmlns:namesp1="TestHash">
> >      <params xsi:type="apachens:Map">
> >        <item>
> >          <key xsi:type="xsd:string">program</key>
> >          <value xsi:type="xsd:string">fasta3</value>
> >       </item>
> >    </params>
> ></namesp1:testhash>
> >
> >The server code snippet:
> >
> >my ($self, %params) =@_;
> >my $value = $params{"program"};
> >...
> >
> >I have gone through the mails here and think the above server code is
> right. But I
> >don't seem to be able to access the hash. What am I doing wrong? Is
> there some
> >module I am missing?
> >
> >Will appreciate any help.
> >TIA,
> >Sharmila.
> >
> >
> >
> >
> >To unsubscribe from this group, send an email to:
> >soaplite-unsubscribe@yahoogroups.com
> >
> >
> >
> >Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
>
>                         Yahoo! Groups Sponsor
>                                           ADVERTISEMENT
>                                             Click Here!
>
> To unsubscribe from this group, send an email to:
> soaplite-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Byrne Reese <byrne@...>

#2899 From: "Orlando Andico" <orly_andico@...>
Date: Mon Aug 11, 2003 10:31 am
Subject: how to decode arrays of structs in SOAP::Lite
orly_andico
Send Email Send Email
 
for example, the GetTopMovers() function in
http://www.xignite.com/xquotes.asmx?WSDL

returns an array of complex types. I can't figure out how to decode
this. using $som->result and decoding with Data::Dumper just gives me
the last item.

there's supposed to be some magical incantation of SOAP::Lite where a
function of your choice is called whenever certain tags are received, e.g.

sub decode_change() if a <change> and </change> pair are found
sub decode_movers() if <movers> and </movers>

etc. etc.

although i can't remember how to do the prescribed incantation. :P

#2900 From: "renato_luiz_araujo" <renato@...>
Date: Mon Aug 11, 2003 4:08 pm
Subject: Method names not being passed
renato_luiz_...
Send Email Send Email
 
Hello Guys,

I'm new to soaplite and I'm havin some interoperabities issues.

I did a SOAP::Lite server that is working pretty weel with soaplite
clients and with asp clients using the soaplite COM dll.
My problem is to use the SOAP::Lite Server with a delphi or ms soap
toolkit with a wsdl file.
I create the wsdl file with WSDL::Generator and with Cape Clear WSDL
Editor.
The problem is that when I make a request using the wsdl file, the xml
request generated doesn't include the method name, but just the
parameters and this don't work.
Whith  the soaplite COM dll the method name is passed and all works
pretty well.
What could be the problem? Is it my wsdl file, or my SOAP::Lite
server.


This is my SOAP::Lite server

#!/usr/bin/perl -w

use SOAP::Transport::HTTP;

SOAP::Transport::HTTP::CGI
     -> on_action(sub {return})
     -> dispatch_to('/opt/mf', 'debitos', 'segundavia')
     -> handle;


And this is my wsdl file:

<?xml version="1.0" encoding="UTF-8"?>
<definitions
     name="debitos"
     targetNamespace="http://10.1.20.217/wsdl/debitos.wsdl"
     xmlns="http://schemas.xmlsoap.org/wsdl/"
     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
     xmlns:tns="http://10.1.20.217/wsdl/debitos.wsdl"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:xsd1="http://10.1.20.217/wsdl/debitos.xsd1">
     <types>
         <xsd:schema
             targetNamespace="http://10.1.20.217/wsdl/debitos.xsd1"
             xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:tns="http://10.1.20.217/wsdl/debitos.wsdl"
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:xsd1="http://10.1.20.217/wsdl/debitos.xsd1">
             <xsd:complexType name="LinhaDebitos">
                 <xsd:complexContent>
                     <xsd:restriction base="SOAP-ENC:Array">
                         <xsd:sequence>
                             <xsd:element maxOccurs="5" minOccurs="5"
name="item" type="xsd:string"/>
                         </xsd:sequence>
                         <xsd:attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd:string[]"/>
                     </xsd:restriction>
                 </xsd:complexContent>
             </xsd:complexType>
             <xsd:complexType name="ArrayDebitos">
                 <xsd:complexContent>
                     <xsd:restriction base="SOAP-ENC:Array">
                         <xsd:sequence>
                             <xsd:element maxOccurs="24" minOccurs="0"
name="item" type="xsd1:LinhaDebitos"/>
                         </xsd:sequence>
                         <xsd:attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="xsd1:LinhaDebitos[]"/>
                     </xsd:restriction>
                 </xsd:complexContent>
             </xsd:complexType>
             <xsd:complexType name="ListaDebitos">
                 <xsd:sequence>
                     <xsd:element maxOccurs="1" minOccurs="1"
name="Nome" type="xsd:string"/>
                     <xsd:element maxOccurs="1" minOccurs="1"
name="cdc" type="xsd:string"/>
                     <xsd:element
                         maxOccurs="1"
                         minOccurs="1"
                         name="debitos"
                         type="xsd1:ArrayDebitos"/>
                 </xsd:sequence>
             </xsd:complexType>
         </xsd:schema>
     </types>
     <message name="NewMessageResponse">
         <part name="debitos" type="xsd1:ListaDebitos"/>
     </message>
     <message name="NewMessageRequest">
         <part name="cdc" type="xsd:string"/>
     </message>
     <portType name="debitosPortType">
         <operation name="lista_debitos">
             <input message="tns:NewMessageRequest"/>
             <output message="tns:NewMessageResponse"/>
         </operation>
         <operation name="hi">
             <input message="tns:hiRequest"/>
             <output message="tns:hiResponse"/>
         </operation>
     </portType>
     <binding name="debitosBinding" type="tns:debitosPortType">
         <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
         <operation name="lista_debitos">
             <soap:operation soapAction="debitos#listadebitos"/>
             <input>
                 <soap:body parts="cdc" use="literal"/>
             </input>
             <output>
                 <soap:body parts="debitos" use="literal"/>
             </output>
         </operation>
     </binding>
     <service name="debitos">
         <documentation>Lista de Debitos</documentation>
         <port binding="tns:debitosBinding" name="debitosPort">
             <soap:address
location="http://10.1.20.217/perl/mainframe.cgi"/>
         </port>
     </service>
</definitions>

#2901 From: "cmatthewblack" <cmatthewblack@...>
Date: Tue Aug 12, 2003 7:05 pm
Subject: newbie questions... can not get SOAP:Lite working "as expected"
cmatthewblack
Send Email Send Email
 
All,
   I fear that this may be a very dumb/obvious problem, but I'm stuck
and hope that someone will give me a hand.

Here is some background on what I am doing...

1) Building a perl client to a Web Service that I do not control (So
I can only debug/work on this from the client side. Fortunatly that
is where I think the problem is. :)

2) Using windows ActivePerl (5.6.1 build 635) with SOAP::Lite 0.55.

     I have a WSDL for the web service, and it only uses "Document -
Literal" interface. (sorry my termanilogy is likely wrong here.)
Below is a snip of the code I am using...

##### start code ######
use SOAP::Lite;

#HOST is a location to get the WSDL from a standard http request
# replaced actual "host name" with "<server>" for the post. :)
$HOST = "http://<server>/arsys/WSDL/nmba/sprt_Service_Request_test2";
$NS = "sprt_Service_Request_test2";
$REQUEST_ID = "TFR00008170423";

print "starting to connect\n";

print "prep of data\n";
my $data = SOAP::Data
		 ->encodingStyle
('http://schemas.xmlsoap.org/soap/encoding/')
		 ->name('Case_ID')->value($REQUEST_ID);

package main;

print "calling ws and OpGet method ". __LINE__ ."\n";
$conn= SOAP::Lite
	 ->service($HOST)
	 ->uri($NS)
	 ->OpGet($data);
print "got here!\n";
print "ref($conn) (", ref($conn), ")\n";
if (ref($conn)) {
         print "conn is a reference to a ".ref($conn).".\n";
     }
if (!(ref($conn))) {
         print "conn is not a reference at all.\n";
}

#print SOAP::Lite
# ->service($HOST)
# ->uri($NS)
# ->OpGet($data);

##### End code ######

What I get is very odd to me. (Please help me understand what is, or
is not happening.)

When I run the code I get:
"
starting to connect
prep of data
calling ws and OpGet method 69
got here!
ref() ()
conn is not a reference at all.
"

So it is like $conn is not getting set. (To anything!)

     However if I do the print statment that is commented at the end
of the code I see what I would expect to get back. Except all of the
XML tags are striped and the contents are just dumped as a big string.


     If I do a (( use SOAP::Lite +trace=>all; )) to turn on some very
verbos output then I see the following. (Which looks more like what I
want to get at, but apparently I/SOAP::Lite does not know how to
handel properly.

### start snip (short version) of commented print statment #####
### the full value is like 10000 lines long so I'm not going to post
the whole thing. :) ###
SOAP::Serializer::envelope: OpGet SOAP::Data=HASH(0x1fc5ab8)
SOAP::Data::new: ()
SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH
(0x222ee60)
SOAP::Transport::HTTP::Client::send_receive: POST
http://<server>/arsys/services/ARService?
server=nmba&webService=sprt_Service_Request_test2
Accept: text/xml
Accept: multipart/*
Content-Length: 538
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:sprt_Service_Request_test2/OpGet"

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><OpGet
xmlns=""><Case_ID SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="xsd:string">TFR00008170423</Case_ID></OpGet></SOAP-
ENV:Body></SOAP-ENV:Envelope>
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH
(0x232da9c)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 200 OK
Connection: close
Date: Tue, 12 Aug 2003 14:53:12 GMT
Server: Microsoft-IIS/5.0
Content-Type: text/xml; charset=utf-8
Client-Date: Tue, 12 Aug 2003 14:53:11 GMT
Client-Peer: 172.22.17.49:80
Client-Response-Num: 1
Set-Cookie: JSESSIONID=<some junk here too :)>; path=/arsys/

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
<OpGetResponse
xmlns="urn:sprt_Service_Request_test2"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	 <__Child_Requests_of_Parent/>
	 <__Child_Service_Requests>0</__Child_Service_Requests>
	 <__Customer_Calls>1</__Customer_Calls>
	 <__Customer_Emails>0</__Customer_Emails>
	 <__Our_Calls>0</__Our_Calls>

<big snip of output here .. just more xml elements with values that
makes sense to me />

<zWorkaround/>
</OpGetResponse> </soapenv:Body>
</soapenv:Envelope>
SOAP::Deserializer::deserialize: ()
SOAP::Parser::decode: ()
SOAP::SOM::new: ()
SOAP::SOM::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::SOM::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Serializer::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Data::DESTROY: ()
SOAP::Deserializer::DESTROY: ()
SOAP::Parser::DESTROY: ()
SOAP::Transport::DESTROY: ()
SOAP::Transport::HTTP::Client::DESTROY: ()
SOAP::Lite::DESTROY: ()
### end snip (short version) of commented print statment #####



Can anyone clue me in to what I need to do to get the results back in
a form that I can process the results in Perl?

(I think I am very close to the solution that I'm looking for. I just
need that one or two more things to finish this.)

Thanks in advance
--
Carey Matthew Black

#2902 From: "bridg_addikt" <unixrulez@...>
Date: Tue Aug 12, 2003 9:43 pm
Subject: how to turnoff c-gensym? Please take a look
bridg_addikt
Send Email Send Email
 
This was posted before and the previous answers did not help.
Here is what I am trying to do
The webservices are hosted on a weblogic server

My perl client code is as follows
$api_server = SOAP::Lite
     -> uri('http://soapserver.mycompany.com/webservices/')
     -> proxy
('http://soap.mycomp.com:7001/webservices/TestPackageWS.jws')
         ->autotype(0);

$hdr = SOAP::Data->name("header" =>
             \SOAP::Data->value(SOAP::Data->name("date"=>
                           \"2003-08-12T19:53:32.050Z" ),
                           SOAP::Data->name("submitter"=>
                              \"ME"),
                           SOAP::Data->name("submitterTransactionId"=>
                              \10),
                           SOAP::Data->name("attemptNumber" =>
                              \1),
                           SOAP::Data->name("method" =>
                              \"SOAP"))),
             SOAP::Data->name("testInput"=>
             \SOAP::Data->value(SOAP::Data->name("inputID"=>
                            \20)))->type('');

$api_server->request($hdr);


Here is what the weblogic server is logging
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema" SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-
ENV:Body><namesp2:request
xmlns:namesp2="http://soapserver.mycompany.com/webservices/"><header><
date><c-gensym5>2003-08-12T19:53:32.050Z</c-
gensym5></date><submitter><c-gensym7>ME</c-
gensym7></submitter><submitterTransactionId><c-gensym9>10</c-
gensym9></submitterTransactionId><attemptNumber><c-gensym11>1</c-
gensym11></attemptNumber><method><c-gensym13>SOAP</c-
gensym13></method></header></namesp2:request></SOAP-ENV:Body></SOAP-
ENV:Envelope>

I still cant understang why there are these c-gensym?? I just want to
turn them off. I even tried
use SOAP::Lite (maptype={},autotype=>0);
It did not work either.

Please help

#2903 From: "joycecho1121" <joycecho1121@...>
Date: Tue Aug 12, 2003 10:12 pm
Subject: Inheritance
joycecho1121
Send Email Send Email
 
Hi.  I am using an inherited class in SOAP::Lite, but having trouble
loading the super class.

use SOAP::Lite
dispatch_to=>'Blah',
uri=>$uri,
proxy=>$proxy;

Blah inherits from a super class, Super, with more than one
package.  I'm trying to get hold of other packages in Super without
having to load Super itself.
If I just use Blah without SOAP::Lite, it works fine. However, if I
try to use SOAP::Lite, the packages in Super does not load.  What
Can i Do?

#2904 From: Roland Moriz <roland@...>
Date: Tue Aug 12, 2003 10:15 pm
Subject: Debugging of a SOAP::Transport::HTTP::Daemon server
roland@...
Send Email Send Email
 
Hi,

is there a way to get debugging (like +trace) information on the server
side together with SOAP::Transport::HTTP::Daemon?

with kind regards,
Mit freundlichen Gruessen,

Roland Moriz
--
Muenchen/Germany - http://www.roland-moriz.de/

#2905 From: "Richard Wainwright" <richard@...>
Date: Tue Aug 12, 2003 10:45 pm
Subject: Adding multiple binding to a uddi structure
rwainwright33
Send Email Send Email
 
In UDDI::Lite I am trying to create a simple business entity structre with
two bindingTemplate within bindingTemplates structure.

Is there a $busent->bindingTemplates->add style method.  I have searched all
the examples given and in lists, but people only ever seem to register
single binding services.

Here is my code, with one bindingTemplate:

################# Start Code ###############################################
my $auth = get_authToken({userID => 'juddi', cred => 'password'})->authInfo;
my $busent = with businessEntity =>
	 name("Business"),
	 description("a business"),
	 businessKey(''),
	 businessServices with businessService =>
		 name("service"),
		 description("Your service"),
		 serviceKey(''),
		 bindingTemplates with bindingTemplate =>
			 description("a binding"),
			 accessPoint('http://url/accesspoint'),
			 bindingKey(''),
			 tModelInstanceDetails with tModelInstanceInfo =>
				 description('Tmodel desc'),
				 tModelKey(''),
				 with overviewDoc =>
					 description(''),
					 overviewURL('http://localhost/ws/x.wsdl');

$bus = save_business($auth, $busent);
################### end Code ###############################################

So how would I go about adding another?

I would appreciate any help offered.

Richard, Guildford-UK

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003

#2906 From: eric-amick@...
Date: Wed Aug 13, 2003 12:49 pm
Subject: Re: how to turnoff c-gensym? Please take a look
eamick
Send Email Send Email
 
> This was posted before and the previous answers did not help.
> Here is what I am trying to do
> The webservices are hosted on a weblogic server
>
> My perl client code is as follows
> $api_server = SOAP::Lite
>     -> uri('http://soapserver.mycompany.com/webservices/')
>     -> proxy
> ('http://soap.mycomp.com:7001/webservices/TestPackageWS.jws')
>         ->autotype(0);
>
> $hdr = SOAP::Data->name("header" =>
>             \SOAP::Data->value(SOAP::Data->name("date"=>
>                           \"2003-08-12T19:53:32.050Z" ),
>                           SOAP::Data->name("submitter"=>
>                              \"ME"),
>                           SOAP::Data->name("submitterTransactionId"=>
>                              \10),
>                           SOAP::Data->name("attemptNumber" =>
>                              \1),
>                           SOAP::Data->name("method" =>
>                              \"SOAP"))),
>             SOAP::Data->name("testInput"=>
>             \SOAP::Data->value(SOAP::Data->name("inputID"=>
>                            \20)))->type('');
>
> $api_server->request($hdr);

I believe you've got too many references.  The ones preceding the SOAP::Data-
>value calls are fine; it's the ones preceding the arguments to SOAP::Data-
>name that need to go.

--
Eric Amick
Columbia, MD

#2907 From: "Ortner" <benoit.ortner@...>
Date: Wed Aug 13, 2003 2:22 pm
Subject: SOAP, PERL and FastCGI...
ptirup
Send Email Send Email
 
Hello

I'm just working to add a SOAP server on an existing perl software.
That software already have a FastCGI web interface, and that's why I
would like to use the same technology for my SOAP server.

Does anybody know if it's possible to Run a FCGI SOAP server with PERL??

Thx in advance

Benoît ORTNER

#2908 From: Mental Patient <mental@...>
Date: Wed Aug 13, 2003 3:41 pm
Subject: unable to find methods in objects
mental@...
Send Email Send Email
 
Hello, perhaps I'm simply not configuring things properly, but I'm
having a hard time using the OO aspect of SOAP::Lite.

I'm setting up a mod_perl server, I've registered Apache::SOAP as the
handler via a location directive (forgive the broken formatting):
<Location /soap>
PerlSetEnv PERL5LIB  \
"/home/mental/source/java-stuff/hmsonline/htdocs/soap"

SetHandler perl-script

PerlHandler Apache::SOAP

PerlSetVar dispatch_to \
"/home/mental/source/java-stuff/hmsonline/htdocs/soap, \
HMS::CCL::Transaction, HMS::CCL::Transaction::clean"

PerlSetVar options "compress_threshold => 10000"
</Location>
################################################################################\
#################

That _seems_ to work. I can write a client and get a new Transaction
object. However, I am unable to call the clean method. I should be able
to instantiate a remote object, then call methods on it, correct? I'm
trying to start simple, then work my way forward. The service is this at
the moment:

package HMS::CCL::Transaction;
use strict;
sub new
{
   my $class = shift;
   my $self  = {};
   bless $self,$class;
   my $args = shift;
   $self->{'type'} = $args->{'type'};
   $self->{'instance_opts'} = $args->{'opts'};
   return $self;
}



sub clean
{
   my ($self) = @_;
   return $self->{'type'};
}

1;
__END__
################################################################################\
##################

Client code looks like:
#!/usr/bin/perl -w
use strict;
use SOAP::Lite
    #+trace=>'all',
    proxy=>'http://crabby.hmsonline.com/soap/',
    on_fault => sub { my ($soap,$res) = @_;
      die ref $res ? $res->faultdetail : $soap->transport->status,"\n";
    }
    ;
use Data::Dumper;
my $soap = SOAP::Lite->new()->uri('/HMS/CCL/Transaction');
my $args = get_constructor_opts();
my $obj = $soap->call(new => $args)->result;
print "returned object:",$obj,"\n";
print Dumper($obj);
my $str = $soap->clean($obj)->result;
print $str;


sub get_constructor_opts
{
   my %foo;
   $foo{'type'} = "hms.phone.us";
   return \%foo;
}

################################################################################\
############

It prints the following:
returned object:HMS::CCL::Transaction=HASH(0x86bac7c)
$VAR1 = bless( {
                  'instance_opts' => undef,
                  'type' => 'hms.phone.us'
                }, 'HMS::CCL::Transaction' );



So, I'm getting the right object type back, but when I call clean, I get
this in the apache error log:
(eval): HMS::CCL::Transaction=HASH(0x87b7b7c)
SOAP::Server::handle:
SOAP::SOM::DESTROY: ()
SOAP::Serializer::envelope: ()
SOAP::Serializer::envelope: Client Failed to locate method (clean) in
class (HMS::CCL::Transaction) at /usr/share/perl5/SOAP/Lite.pm line
2195.



Now, if I change clean to be something like:
sub clean
{ return "foo";}

I get the string foo back. So there's some sort of problem with $self
being deserialized or something. I've tried objects_by_reference, that
yeilds:
SOAP::SOM::DESTROY: ()
SOAP::Serializer::envelope: ()
SOAP::Serializer::envelope: Server Object with specified id couldn't be
found

Can someone please give me a hint, or some insight as to what I'm doing
wrong? I swear I've seen this sort of thing work before. Something like:
$obj = Package->new();
$obj->setData($x);
......
my $x = $obj->getData();

Should be doable, no?

--

Mental (Mental@...)

CARPE NOCTEM, QUAM MINIMUM CREDULA POSTERO.

GPG public key: http://www.neverlight.com/pas/Mental.asc

#2909 From: "john42_de" <j@...>
Date: Wed Aug 13, 2003 5:14 pm
Subject: timeout SOAP Transport HTTP CGI
john42_de
Send Email Send Email
 
I'm using a Perl SOAP-Server in conjunction with a Macromedia-Flash
SOAP Client. When I switch my environment to mod_perl everything works
fine, but when I have to use a normal CGI-environment I get a very
strange behaviour of SOAP-Lite: If I send a request to the SOAP-server
the answer, the server is sending back the response immediatly, but it
stops at the last sign ("...</SOAP-ENV:Envelope"  --> the SOAP-Server
does not send the closing "greater than") and hangs for about 18
seconds. After this timeout it sends the closing ">" of the
</SOAP-ENV:Envelope>-tag and the client correctly displays the results.

Thank You for Your help
John

#2910 From: Mental Patient <mental@...>
Date: Wed Aug 13, 2003 6:35 pm
Subject: Re: unable to find methods in objects
mental@...
Send Email Send Email
 
To follow up on my own issue... It turns out it was an issue of brain
not being fully engaged. I was mixing up some autodispatch style code
with non-autodispatch code. I completely forgot the whole
$soap->call(method => $object,$arg) syntax. Its been ages since I used
this stuff, sorry for the faq :)


--

Mental (Mental@...)

CARPE NOCTEM, QUAM MINIMUM CREDULA POSTERO.

GPG public key: http://www.neverlight.com/pas/Mental.asc

#2911 From: "bridg_addikt" <unixrulez@...>
Date: Wed Aug 13, 2003 10:26 pm
Subject: Thank you, that worked (EOM) Re: how to turnoff c-gensym? Please take a look
bridg_addikt
Send Email Send Email
 
#2912 From: "bridg_addikt" <unixrulez@...>
Date: Wed Aug 13, 2003 10:32 pm
Subject: how to turn off autogenerated namesp1 and namesp2?
bridg_addikt
Send Email Send Email
 
This is what I'm seeing in the soap body and I'm not sure how to turn that off
<SOAP-ENV:Body>
     <namesp2:request xmlns:namesp2="http://app.mycompany.com/webservices/"/>
</SOAP-ENV:Body>

Please help

#2913 From: Eric Just <ejust@...>
Date: Wed Aug 13, 2003 10:57 pm
Subject: Exponentially slow with large messages
lonesome_sha...
Send Email Send Email
 
Hi,
Has anyone had any problesm with SOAP::lite transport
being excessively slow for large files (>~2M)?  I have
programmed both a server and a client transporting
over http using apache, and have run into this
problem.

Thanks
eric

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Messages 2884 - 2913 of 6629   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help