Re: [PHP] SOAP and Php question about authentication

2012-07-17 Thread Matijn Woudt
Op 17 jul. 2012 22:44 schreef "James Newman" 
het volgende:
>
> I agree with your response, the payment gateway insists that the
> authentication I have been given is correct.  My question was more around
> "was I using the function correctly".  It says authentication failed but
> I've followed he documentation to the letter. Is there a way I can output
> what the server is saying when a request is sent?
>

Well, that really depends on the payment gateway. Anyway it should of
course work if you have followed the documentation. Just want to let you
know that you're probably not going to get a in depth response on how to
use the payment gateway, since that is specific to your provider. The best
way of looking what you're sending to the server and back is using a packet
logger, for example wireshark. Though, make sure you run the capture on the
webserver ..

- Matijn


Re: [PHP] SOAP and Php question about authentication

2012-07-17 Thread James Newman
I agree with your response, the payment gateway insists that the
authentication I have been given is correct.  My question was more around
"was I using the function correctly".  It says authentication failed but
I've followed he documentation to the letter. Is there a way I can output
what the server is saying when a request is sent?

On Wed, Jul 18, 2012 at 2:32 AM, Curtis Maurand  wrote:

>
>
>
> That's not a helpful answer.  I'd be curious at a real answer
> for this, too.  I'm sure that there is something going on with
> session management on the client side as authentication has probably
> already happened, but the author doesn't know how to handle the response
> to the authentication correctly.
>
> --Curtis
>
> Matijn
> Woudt wrote:
> > Op 17 jul. 2012 05:23 schreef "James
> Newman"
> > 
> >
> het volgende:
> >>
> >> I'm having a few authentication
> issues and I'm not sure if it's my code
> >> or
> >> the
> web service I'm connecting to.  The code below shows what I'm
> >> working
> >> with not sire if I'm going about it the
> right way.
> >>
> >> This is the error I get!
> >>
> >> Fatal error: Uncaught SoapFault exception:
> [soap:Client]
> >> System.Web.Services.Protocols.SoapException:
> Authentication error.
> > Username
> >> and/or Password are
> incorrect at
> >
> > Really.. have you had a look at your
> error before mailing it to this list?
> > This error looks pretty
> clear to me..
> >
> > - Matijn
> >
>


Re: [PHP] SOAP and Php question about authentication

2012-07-17 Thread Curtis Maurand



That's not a helpful answer.  I'd be curious at a real answer
for this, too.  I'm sure that there is something going on with
session management on the client side as authentication has probably
already happened, but the author doesn't know how to handle the response
to the authentication correctly.

--Curtis

Matijn
Woudt wrote:
> Op 17 jul. 2012 05:23 schreef "James
Newman"
> 
>
het volgende:
>>
>> I'm having a few authentication
issues and I'm not sure if it's my code
>> or
>> the
web service I'm connecting to.  The code below shows what I'm
>> working
>> with not sire if I'm going about it the
right way.
>>
>> This is the error I get!
>>
>> Fatal error: Uncaught SoapFault exception:
[soap:Client]
>> System.Web.Services.Protocols.SoapException:
Authentication error.
> Username
>> and/or Password are
incorrect at
> 
> Really.. have you had a look at your
error before mailing it to this list?
> This error looks pretty
clear to me..
> 
> - Matijn
>


Re: [PHP] SOAP and Php question about authentication

2012-07-16 Thread Matijn Woudt
Op 17 jul. 2012 05:23 schreef "James Newman" 
het volgende:
>
> I'm having a few authentication issues and I'm not sure if it's my code or
> the web service I'm connecting to.  The code below shows what I'm working
> with not sire if I'm going about it the right way.
>
> This is the error I get!
>
> Fatal error: Uncaught SoapFault exception: [soap:Client]
> System.Web.Services.Protocols.SoapException: Authentication error.
Username
> and/or Password are incorrect at

Really.. have you had a look at your error before mailing it to this list?
This error looks pretty clear to me..

- Matijn


Re: [PHP] SOAP

2012-01-17 Thread lars
Hey there,
If you are running php5 then ot is relativly easy to use the SoapClient
object. It also supports ssl. Look it up in the phpmanual.

Regards
Lars Nielsen

> Hello!
>
>
>
> I am looking for some help on Web Services (SOAP) client.
>
>
>
> Is there anyone here who has already worked with such client?
>
>
>
> Thank you
>
>
>
> Deleo
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

2011-08-19 Thread Richard Quadling
Ah! The joy to mail readers.

If you can supply a valid URL, I can take a look and see what it is doing.

2011/8/19 Ignacio Marín Hernández :
> mmm, i think i understand you now!
>
> But the url it's ok, it's only
> $web_service="http://url_of_the_webservice.asmx?WSDL";;
>
> The second part between "<  >"
> ($web_service="http://url_of_the_webservice.asmx?WSDL")
> was Gmail who wrote it  (not me) when I forward the email.
>
> LoL
>
> By the way, Thanx fro the answer!
>
> El 19 de agosto de 2011 12:18, Richard Quadling 
> escribió:
>>
>> 2011/8/19 Ignacio Marín Hernández :
>> > Dear Richard Surely (hehe):
>> >
>> > I don´t understand what do you want to say with "that should be
>> > $web_service="http://url_of_the_webservice.asmx?WSDL";";
>> >
>> > Obviusly, "url_of_the_web_sevice" it's just an example. With the real
>> > url I
>> > can read without any problems the especifications of the WSDL. But i
>> > recived
>> > that error when I trie to connect doing
>> > new SoapClient($web_service, array('soap_version'   => SOAP_1_1,
>> >                                              'encoding'=>'utf-8',
>> >                                              'trace' => TRUE,
>> >                                              'STYLE' => SOAP_DOCUMENT,
>> >           'use'   => SOAP_LITERAL
>> >
>> >                                             )
>> >                         );
>> >
>> > Thanks!
>> >
>> >
>> >
>> >
>> > El 19 de agosto de 2011 11:26, Richard Quadling 
>> > escribió:
>> >>
>> >> 2011/8/19 Ignacio Marín Hernández :
>> >> >
>> >> >
>> >> > $web_service="http://url_of_the_webservice.asmx?WSDL
>> >> > ";
>> >>
>> >> Surely, that should be ...
>> >>
>> >> $web_service="http://url_of_the_webservice.asmx?WSDL";;
>> >>
>> >> And sorry for calling you Surely.
>> >>
>> >> Richard.
>> >> --
>> >> Richard Quadling
>> >> Twitter : EE : Zend : PHPDoc
>> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
>> >
>> >
>>
>> Your url was ...
>>
>> http://www.site.com/service?wsdl
>>
>> Rather than ...
>>
>> http://www.site.com/service?wsdl
>>
>> Can you provide the URL?
>> --
>> Richard Quadling
>> Twitter : EE : Zend : PHPDoc
>> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
>
>



-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

2011-08-19 Thread Ignacio Marín Hernández
mmm, i think i understand you now!

But the url it's ok, it's only
$web_service="http://url_of_the_webservice.asmx?WSDL";;

The second part between "<  >"  ($web_service="
http://url_of_the_webservice.asmx?WSDL<
http://url_of_the_webservice.asmx/?WSDL>") was Gmail who wrote it  (not me)
when I forward the email.

LoL

By the way, Thanx fro the answer!

El 19 de agosto de 2011 12:18, Richard Quadling escribió:

> 2011/8/19 Ignacio Marín Hernández :
> > Dear Richard Surely (hehe):
> >
> > I don´t understand what do you want to say with "that should be
> > $web_service="http://url_of_the_webservice.asmx?WSDL";";
> >
> > Obviusly, "url_of_the_web_sevice" it's just an example. With the real url
> I
> > can read without any problems the especifications of the WSDL. But i
> recived
> > that error when I trie to connect doing
> > new SoapClient($web_service, array('soap_version'   => SOAP_1_1,
> >  'encoding'=>'utf-8',
> >  'trace' => TRUE,
> >  'STYLE' => SOAP_DOCUMENT,
> >   'use'   => SOAP_LITERAL
> >
> > )
> > );
> >
> > Thanks!
> >
> >
> >
> >
> > El 19 de agosto de 2011 11:26, Richard Quadling 
> > escribió:
> >>
> >> 2011/8/19 Ignacio Marín Hernández :
> >> >
> >> > $web_service="http://url_of_the_webservice.asmx?WSDL<
> http://url_of_the_webservice.asmx/?WSDL>
> >> > ";
> >>
> >> Surely, that should be ...
> >>
> >> $web_service="http://url_of_the_webservice.asmx?WSDL";;
> >>
> >> And sorry for calling you Surely.
> >>
> >> Richard.
> >> --
> >> Richard Quadling
> >> Twitter : EE : Zend : PHPDoc
> >> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
> >
> >
>
> Your url was ...
>
> http://www.site.com/service?wsdl
>
> Rather than ...
>
> http://www.site.com/service?wsdl
>
> Can you provide the URL?
> --
> Richard Quadling
> Twitter : EE : Zend : PHPDoc
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea
>


Re: [PHP] SOAP-ERROR: Parsing Schema: unresolved element 'ref' attribute

2011-08-19 Thread Richard Quadling
2011/8/19 Ignacio Marín Hernández :
> $web_service="http://url_of_the_webservice.asmx?WSDL
> ";

Surely, that should be ...

$web_service="http://url_of_the_webservice.asmx?WSDL";;

And sorry for calling you Surely.

Richard.
-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP ERROR - Encoding

2010-07-24 Thread Richard Quadling
On 22 July 2010 21:59, Augusto Flavio  wrote:
> Hi guys,
>
>
> I created a simple wsdl web service. Everything works fine, but when I fill
> the fields with accents and send the soap request, the PHP returns me an
> error:
>
>
> *Fatal error*: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding:
> string 'ol\xe1...' is not a valid utf-8 string in PATH\cilent.php 16 Stack
> trace: #0 [internal function]: SoapClient->__call('Send', Array) #1
> PATH\cilent.php(16): SoapClient->Send(Array) #2 {main} thrown in *
> PATH\cilent.php* on line *16*
>
>
> I tested this same request using the eclipse web service explorer(It's a
> java client web service inside the eclipse IDE) and the response was ok.
>
>
> I found few topics about this issue on the google. One related solution to
> this problem is use the utf8_encode() function. I tried add this function
> before to send the soap request but didnt worked.
>
>
> I think that this problem is in the PHP soap client because using the
> eclipse web service explorer it works fine.
>
>
> Here is my php soap client:
>
>
> $client = new SoapClient('http://app/webservice.wsdl');
> $return = $client->Send(array('token' => '123123', 'message' => array(
> 'text' => 'This is a string with special characters á é í ó ú', 'dest' =>
> 'John', 'sender' => 'Augusto')));
>
> As I said I tried to use the utf8_encode() here:
>
> $return = $client->Send(array('token' => '123123', 'message' => array(
> 'text' => utf8_encode('This is a string with special characters á é í ó ú'),
> 'dest' => 'John', 'sender' => 'Augusto')));
>
> But the problem still.
>
> I tried also add the propertie defencoding in the soap server:
>
> $server->soap_defencoding = 'UTF-8';
>
> But still not working.
>
>
> What I'm missing?
>
>
>
> Thanks
>
>
>
> Augusto Morais
>

Not 100% sure on this, but, are you saving the source code in UTF-8 format?

If not, then the error is quite correct.

Also, utf8_encode() only deals with converting  ISO-8859-1 to UTF-8,
so, again, if the source code is NOT in ISO-8859-1 then you are not
going to get the conversion.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] [soap]about compress

2008-07-25 Thread Thijs Lensselink

Quoting 付兴林 <[EMAIL PROTECTED]>:

I have an issue about soap. Is the data returned from servier   
compressed by gzip, When using soap in php5 to creat web service?   
Can we set for compress lever or not compress?

_
这里好多好玩的视频,用鼠标点到视频看看,有惊喜!
http://cnweb.search.live.com/video/results.aspx?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&mkt=zh-cn&FORM=WLMTWC



For the SOAPClient you can pass some settings in the $options parameter.

$options = array('compression' => SOAP_COMPRESSION_ACCEPT |  
SOAP_COMPRESSION_GZIP | 9);



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Soap Call Error

2008-07-17 Thread VamVan
I tried that this is what i get


Response:HTTP/1.1 200 OK
Date: Thu, 17 Jul 2008 18:27:23 GMT
Server: Apache/2.2.6 (Unix)
Set-Cookie: JSESSIONID=DF4D15B8D0A0610B4832C3A708874672; Path=/
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: multipart/related; type="application/xop+xml"; start="<
[EMAIL PROTECTED]>"; start-info="text/xml";
boundary="=_Part_281_1620393832.1216319243198"

--=_Part_281_1620393832.1216319243198
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID: <[EMAIL PROTECTED]>

<--=_Part_281_1620393832.1216319243198--
Request:POST /rpc/soap/ForumService HTTP/1.1
Host: 
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.0
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 850soap:Envelope xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>http://jivesoftware.com/webservices";>http://jivesoftware.com/webservices";>http://webservices.community.jivesoftware.com";>xxhttp://webservices.community.jivesoftware.com";>xhttp://webservices.community.jivesoftware.com";>-07-17T11:27:23.078-07:00http://webservices.community.jivesoftware.com";>xhttp://webservices.community.jivesoftware.com";>1http://webservices.community.jivesoftware.com";>1http://webservices.community.jivesoftware.com";>2008-07-17T11:27:23.078-07:00http://webservices.community.jivesoftware.com";>new appliance
108http://webservices.community.jivesoftware.com";>0http://webservices.community.jivesoftware.com";>989430false0hello235215382008-07-17T11:27:23.078-07:00155479012008-07-17T11:27:23.078-07:000new
appliance
108hellonew
appliance
1081355582006-05-10T11:55:27.114-07:00asdadasdfalse2006-05-10T11:55:27.114-07:00
true




http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://jivesoftware.com/webservices"; xmlns:ns2="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
">
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
">
 
xxx
x
 

new
appliance
108hellox


I dont know what can I infer from this. I still get the same error.



On Wed, Jul 16, 2008 at 11:26 PM, Jason Norwood-Young <
[EMAIL PROTECTED]> wrote:

>
> On Wed, 2008-07-16 at 17:44 -0700, VamVan wrote:
> > Hello Guys,
> >
> > I have been getting a wierd soap exception lately
> >
> >
> > [faultstring] => looks like we got no XML document
> > [faultcode] => Client
> > [faultcodens] => http://schemas.xmlsoap.org/soap/envelope/
> >
> > What does that mean? The call gets properly called and it does what it
> needs
> > to do, but the response xml is always a $fault? Did anyone have this
> > problem? I am using php 5.2.6 for the info.
>
> This is usually a malformed XML document - I had the problem recently
> when fetching an XML document that wasn't complete (no ). Check
> what you're *actually* getting with something like:
>
> } catch(SoapFault $exception) {
>$request_xml = $client->__getLastRequestHeaders() .
> $client->__getLastRequest();
>$response_xml = $client->__getLastResponseHeaders() .
> $client->__getLastResponse();
>print "Response:".$response_xml;
>print "Request:".$request_xml;
>print $exception;
>}
>
>


Re: [PHP] Soap Call Error

2008-07-16 Thread Jason Norwood-Young

On Wed, 2008-07-16 at 17:44 -0700, VamVan wrote:
> Hello Guys,
> 
> I have been getting a wierd soap exception lately
> 
> 
> [faultstring] => looks like we got no XML document
> [faultcode] => Client
> [faultcodens] => http://schemas.xmlsoap.org/soap/envelope/
> 
> What does that mean? The call gets properly called and it does what it needs
> to do, but the response xml is always a $fault? Did anyone have this
> problem? I am using php 5.2.6 for the info.

This is usually a malformed XML document - I had the problem recently
when fetching an XML document that wasn't complete (no ). Check
what you're *actually* getting with something like:

} catch(SoapFault $exception) {
$request_xml = $client->__getLastRequestHeaders() .
$client->__getLastRequest();
$response_xml = $client->__getLastResponseHeaders() .
$client->__getLastResponse();
print "Response:".$response_xml;
print "Request:".$request_xml;
print $exception;
}


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP - function does not exist?

2008-06-30 Thread Dan Joseph
On Mon, Jun 30, 2008 at 11:08 AM, Will Fitch <[EMAIL PROTECTED]> wrote:

>  It doesn't look like the SOAP service at
> http://new.vehicletransportusa.com/v2/services/URS.QuoteServices.phpdoesn't 
> actually implement a function called "getOrderHistory".
>
>
>
> Can you verify that?
>
>
>
> *From:* Dan Joseph [mailto:[EMAIL PROTECTED]
> *Sent:* Monday, June 30, 2008 9:52 AM
> *To:* Will Fitch
> *Cc:* PHP General List
> *Subject:* Re: [PHP] SOAP - function does not exist?
>
>
>
>
>
> On Mon, Jun 30, 2008 at 10:48 AM, Will Fitch <[EMAIL PROTECTED]> wrote:
>
> Your WSDL is referencing a document literal service.  How are you making
> the
> request?  For instance, look at this example:
>
> $soap = new SoapClient('some.wsdl');
> $soap->getOrderHistory('somestring');
>
> The above might not work as your document literal service (not RPC) is
> looking for the data in the SOAP headers, not the body.  You may have to
> attach the data to the headers and use __call() rather than RPC.
>
> Can you provide the WSDL (as attachment please)
>
>
> -Original Message-
> From: Dan Joseph [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 30, 2008 9:43 AM
> To: PHP General List
> Subject: [PHP] SOAP - function does not exist?
>
> Hi,
>
> I've got a web service that I have created that.  It has several functions,
> here is the var_dump of __getfunctions();
>
> array(11) {
>  [0]=>
>  string(52) "getQuoteResponse getQuote(getQuote $getquoterequest)"
>  [1]=>
>  string(64) "submitOrderResponse submitOrder(submitOrder
> $submitorderrequest)"
>  [2]=>
>  string(64) "updateQuoteResponse updateQuote(updateQuote
> $updatequoterequest)"
>  [3]=>
>  string(68) "accountLoginResponse accountLogin(accountLogin
> $accountloginrequest)"
>  [4]=>
>  string(80) "accountPasswordResponse accountPassword(accountPassword
> $accountpasswordrequest)"
>  [5]=>
>  string(64) "accountInfoResponse accountInfo(accountInfo
> $accountinforequest)"
>  [6]=>
>  string(72) "accountUpdateResponse accountUpdate(accountUpdate
> $accountupdaterequest)"
>  [7]=>
>  string(80) "getQuoteHistoryResponse getQuoteHistory(getQuoteHistory
> $getquotehistoryrequest)"
>  [8]=>
>  string(80) "getQuoteDetailsResponse getQuoteDetails(getQuoteDetails
> $getquotedetailsrequest)"
>  [9]=>
>  string(80) "getOrderHistoryResponse getOrderHistory(getOrderHistory
> $getorderhistoryrequest)"
>  [10]=>
>  string(80) "getOrderDetailsResponse getOrderDetails(getOrderDetails
> $getorderdetailsrequest)"
> }
>
>
> The response I am getting is:
>
> SoapFault Object
> (
>[message:protected] => Function 'getOrderHistory' doesn't exist
>[string:private] =>
>[code:protected] => 0
>[file:protected] => /home/yerkes/public_html/soap/client.php
>[line:protected] => 74
>[trace:private] => Array
>(
>[0] => Array
>(
>[function] => __call
>[class] => SoapClient
>[type] => ->
>[args] => Array
>(
>[0] => getOrderHistory
>[1] => Array
>(
>[0] => Array
>(
>[id] => 24
>[key] => asdlkjf
>[username] =>
> [EMAIL PROTECTED]
>[startdate] => 2008-05-01
>[enddate] => 2008-05-31
>[password] => x
>)
>
>)
>
>)
> }
>
>)
>
>
> I have gone over the wsdl countless times, and do not see anything wrong
> it.  Can anyone tell me where to begin trouble shooting this?  I can post
> code from the client and class if need be.  I guess I'm mainly trying to
> figure out: Does this point to a wsdl problem, or code problem?
>
> --
> -Dan Joseph
>
> www.canishosting.com - Plans start @ $1.99/month.
>
> "Build a man a fire, and he will be warm for the rest of the day.
> Light a man on fire, and will be warm for the rest of his life."
>
>
>

RE: [PHP] SOAP - function does not exist?

2008-06-30 Thread Will Fitch
It doesn't look like the SOAP service at
http://new.vehicletransportusa.com/v2/services/URS.QuoteServices.php doesn't
actually implement a function called "getOrderHistory".  

 

Can you verify that? 

 

From: Dan Joseph [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 30, 2008 9:52 AM
To: Will Fitch
Cc: PHP General List
Subject: Re: [PHP] SOAP - function does not exist?

 

 

On Mon, Jun 30, 2008 at 10:48 AM, Will Fitch <[EMAIL PROTECTED]> wrote:

Your WSDL is referencing a document literal service.  How are you making the
request?  For instance, look at this example:

$soap = new SoapClient('some.wsdl');
$soap->getOrderHistory('somestring');

The above might not work as your document literal service (not RPC) is
looking for the data in the SOAP headers, not the body.  You may have to
attach the data to the headers and use __call() rather than RPC.

Can you provide the WSDL (as attachment please)


-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, June 30, 2008 9:43 AM
To: PHP General List
Subject: [PHP] SOAP - function does not exist?

Hi,

I've got a web service that I have created that.  It has several functions,
here is the var_dump of __getfunctions();

array(11) {
 [0]=>
 string(52) "getQuoteResponse getQuote(getQuote $getquoterequest)"
 [1]=>
 string(64) "submitOrderResponse submitOrder(submitOrder
$submitorderrequest)"
 [2]=>
 string(64) "updateQuoteResponse updateQuote(updateQuote
$updatequoterequest)"
 [3]=>
 string(68) "accountLoginResponse accountLogin(accountLogin
$accountloginrequest)"
 [4]=>
 string(80) "accountPasswordResponse accountPassword(accountPassword
$accountpasswordrequest)"
 [5]=>
 string(64) "accountInfoResponse accountInfo(accountInfo
$accountinforequest)"
 [6]=>
 string(72) "accountUpdateResponse accountUpdate(accountUpdate
$accountupdaterequest)"
 [7]=>
 string(80) "getQuoteHistoryResponse getQuoteHistory(getQuoteHistory
$getquotehistoryrequest)"
 [8]=>
 string(80) "getQuoteDetailsResponse getQuoteDetails(getQuoteDetails
$getquotedetailsrequest)"
 [9]=>
 string(80) "getOrderHistoryResponse getOrderHistory(getOrderHistory
$getorderhistoryrequest)"
 [10]=>
 string(80) "getOrderDetailsResponse getOrderDetails(getOrderDetails
$getorderdetailsrequest)"
}


The response I am getting is:

SoapFault Object
(
   [message:protected] => Function 'getOrderHistory' doesn't exist
   [string:private] =>
   [code:protected] => 0
   [file:protected] => /home/yerkes/public_html/soap/client.php
   [line:protected] => 74
   [trace:private] => Array
   (
   [0] => Array
   (
   [function] => __call
   [class] => SoapClient
   [type] => ->
   [args] => Array
   (
   [0] => getOrderHistory
   [1] => Array
   (
   [0] => Array
   (
   [id] => 24
   [key] => asdlkjf
   [username] =>
[EMAIL PROTECTED]
   [startdate] => 2008-05-01
   [enddate] => 2008-05-31
   [password] => x
   )

   )

   )
}

   )


I have gone over the wsdl countless times, and do not see anything wrong
it.  Can anyone tell me where to begin trouble shooting this?  I can post
code from the client and class if need be.  I guess I'm mainly trying to
figure out: Does this point to a wsdl problem, or code problem?

--
-Dan Joseph

www.canishosting.com - Plans start @ $1.99/month.

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."


Hi Will, thanks for the response.  Here is the wsdl.

I am calling the service with:

http://new.vehicletransportusa.com/v2/services/URS.QuoteServices.wsdl"; );

$d = $client->getOrderHistory( $data );

?>

-- 
-Dan Joseph

www.canishosting.com - Plans start @ $1.99/month.

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life." 



RE: [PHP] SOAP - function does not exist?

2008-06-30 Thread Will Fitch
Your WSDL is referencing a document literal service.  How are you making the
request?  For instance, look at this example:

$soap = new SoapClient('some.wsdl');
$soap->getOrderHistory('somestring');

The above might not work as your document literal service (not RPC) is
looking for the data in the SOAP headers, not the body.  You may have to
attach the data to the headers and use __call() rather than RPC.

Can you provide the WSDL (as attachment please)

-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 30, 2008 9:43 AM
To: PHP General List
Subject: [PHP] SOAP - function does not exist?

Hi,

I've got a web service that I have created that.  It has several functions,
here is the var_dump of __getfunctions();

array(11) {
  [0]=>
  string(52) "getQuoteResponse getQuote(getQuote $getquoterequest)"
  [1]=>
  string(64) "submitOrderResponse submitOrder(submitOrder
$submitorderrequest)"
  [2]=>
  string(64) "updateQuoteResponse updateQuote(updateQuote
$updatequoterequest)"
  [3]=>
  string(68) "accountLoginResponse accountLogin(accountLogin
$accountloginrequest)"
  [4]=>
  string(80) "accountPasswordResponse accountPassword(accountPassword
$accountpasswordrequest)"
  [5]=>
  string(64) "accountInfoResponse accountInfo(accountInfo
$accountinforequest)"
  [6]=>
  string(72) "accountUpdateResponse accountUpdate(accountUpdate
$accountupdaterequest)"
  [7]=>
  string(80) "getQuoteHistoryResponse getQuoteHistory(getQuoteHistory
$getquotehistoryrequest)"
  [8]=>
  string(80) "getQuoteDetailsResponse getQuoteDetails(getQuoteDetails
$getquotedetailsrequest)"
  [9]=>
  string(80) "getOrderHistoryResponse getOrderHistory(getOrderHistory
$getorderhistoryrequest)"
  [10]=>
  string(80) "getOrderDetailsResponse getOrderDetails(getOrderDetails
$getorderdetailsrequest)"
}


The response I am getting is:

SoapFault Object
(
[message:protected] => Function 'getOrderHistory' doesn't exist
[string:private] =>
[code:protected] => 0
[file:protected] => /home/yerkes/public_html/soap/client.php
[line:protected] => 74
[trace:private] => Array
(
[0] => Array
(
[function] => __call
[class] => SoapClient
[type] => ->
[args] => Array
(
[0] => getOrderHistory
[1] => Array
(
[0] => Array
(
[id] => 24
[key] => asdlkjf
[username] =>
[EMAIL PROTECTED]
[startdate] => 2008-05-01
[enddate] => 2008-05-31
[password] => x
)

)

)
}

)


I have gone over the wsdl countless times, and do not see anything wrong
it.  Can anyone tell me where to begin trouble shooting this?  I can post
code from the client and class if need be.  I guess I'm mainly trying to
figure out: Does this point to a wsdl problem, or code problem?

-- 
-Dan Joseph

www.canishosting.com - Plans start @ $1.99/month.

"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP/SOAP WDSL Restrictions

2008-05-09 Thread Paul van Brouwershaven

> I'm struggling with the WDSL restrictions in PHP/SOAP for a while
Sorry, I mean WSDL instead of WDSL.

But of course the problem stays the same :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP and nested input

2008-04-28 Thread Richard Lynch
On Mon, April 28, 2008 4:52 am, Emil Edeholt wrote:
> If I need to pass nested input to a SOAP function; For example a
> function that requires these parameters:
>
> bar
> 
> foobar
> 
>
> Should I simply nest two arrays to the php soap function, i.e:
> $client->foo(array("foo" => "bar", "foonest" => array("barnest" =>
> "foobar"));

Should work, I think...

> The exception I get is: Catchable fatal error: Object of class
> stdClass
> could not be converted to string.

This means you tried to echo/print or embed into a string some kind of
php built-in Object, or some on-the-fly object you created.

-- 
Can you do me a favor?
Sign up for http://Facebook.com
Add http://apps.facebook.com/whereivebeen/
Review it, and let 'em know Rich sent you.
http://www.facebook.com/apps/application.php?id=2603626322
(Scroll down to the middle of the middle column)
Give it a 5-star rating please :-)
(If you can't go 5-star, email me to tell me why)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP Server in PHP4

2008-03-18 Thread Nathan Nobbe
On Tue, Mar 18, 2008 at 5:28 PM, Eric Gorr <[EMAIL PROTECTED]> wrote:

> Looks like I will be unable to use PHP5 to do a SOAP server. I believe
> it was possible to do such a thing in PHP4, but perhaps not as
> cleanly.


is this because you arent able to use php5 in your current situation,
because php can do soap servers in php5.


> Unfortunately, I am unable to locate the appropriate
> documentation on php.net for some reason...perhaps I am just blind.


there was no native support for soap w/ php4.  i dont even know if nusoap
offered this, and anyway i didnt really like it nor have i ever heard of a
php4 soap server.

-nathan


Re: [PHP] SOAP PHP 5.2.5 and Outside WSDL's

2008-03-08 Thread Larry Garfield
From your samples below, if what they actually want is that snippet at the 
bottom, then you don't want to send SOAP.  You want to send a REST response, 
vis, "some arbitrary, use-case-specific XML".  In that case, don't use SOAP 
at all but use SimpleXML instead, then dump that to an XML string and send 
it.

If you mean something else, please clarify. :-)

On Wednesday 05 March 2008, Jonathan Pitcher wrote:
> I am connecting to a Third Party WSDL that needs me to turn return an Array
> of results to them. I do and PHP returns this ...
>
>
> 
> 
> 
> en
>  xsi:type="xsd:string">50d3c78a0213b3e083ce7b6c7fa760a299798246fb6bbf1dc2dc8
>1
> 12a841454d5bcb9cb752b18e299cd9be84214175b6c971065d8df08b52283408b925dd85412
>8 5a031ca29c39b945989b951e2523594f5c9c0aa7bbfc328c87441830b47cd0
> 1
> 
>  xsi:type="ns3:ArrayOf_tns1_EditConferenceParty">
> 
> 163
> 99
> 
> 
> 163
> 99
> 
> 
> 
> 
>
>
> Problem is they need something like:
>
> 
> 163
> 99
> 
> 
> 163
> 99
> 
>
> I found a good read here that says it deals with the way PHP handles
> outputting arrays.
>
> http://archive.netbsd.se/?ml=soap&a=2006-01&m=1677392
>
> Is this truly considered a bug ? If so has it been resolved in the current
> releases of PHP ?
>
> If not does anyone have a simple solution ?  I can figure out a way to code
> the XML myself and send it but honestly was hoping for a simplier solution
> that didn't envolve writing XML by hand.
>
> Jonathan Pitcher


-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Larry Garfield
On Wednesday 26 September 2007, David Christopher Zentgraf wrote:
> On  26. Sep 2007, at 16:45, Nathan Nobbe wrote:
> > i hate to suggest it, but you might want to take a little time and
> > investigate what other restrictions you host has.  if the list is
> > long you may want to consider a
> > move. it may seem arduous now, but the longer you wait the more
> > arduous it will
> > become.
>
> Oh, we know our host sucks major [primate] [primate][bodypart].
> The plan is to eventually have our own servers in-house, but until
> then, there really isn't that much choice unfortunately. As far as we
> observed all of the major hosts in Tokyo (Hi from Japan!) are pretty
> much the same. And hosting abroad is out of the question, since
> latency goes right up and throughput down with every inch off the
> Japanese coast. Unless somebody has a good tip for a good host...

http://gophp5.org/hosts

Doesn't look like there's any in Japan, but perhaps there's one nearby in Asia 
that could be good enough.  

-- 
Larry Garfield  AIM: LOLG42
[EMAIL PROTECTED]   ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Paul Scott

On Wed, 2007-09-26 at 13:26 +0900, David Christopher Zentgraf wrote:
> But I just found out about NuSOAP (http://dietrich.ganx4.com/ 
> nusoap/), which seems to be what I'm looking for, a no-strings- 
> attached SOAP implementation. I'm trying my luck with this one for  
> now. :)

If you are using nuSoap on PHP5, be sure to change the class names etc,
otherwise you will get conflicts in our namespaceless world.

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf

On  26. Sep 2007, at 16:45, Nathan Nobbe wrote:


i hate to suggest it, but you might want to take a little time and
investigate what other restrictions you host has.  if the list is  
long you may want to consider a
move. it may seem arduous now, but the longer you wait the more  
arduous it will

become.


Oh, we know our host sucks major [primate] [primate][bodypart].
The plan is to eventually have our own servers in-house, but until  
then, there really isn't that much choice unfortunately. As far as we  
observed all of the major hosts in Tokyo (Hi from Japan!) are pretty  
much the same. And hosting abroad is out of the question, since  
latency goes right up and throughput down with every inch off the  
Japanese coast. Unless somebody has a good tip for a good host...



still on php4 (dont ask)


Ditto.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Nathan Nobbe
as i said, its a relic.  i started using it where i work because we are
still on php4 (dont ask)
and was dismayed.  i looked around at some articles online and thats where i
got the impression
it was the defacto standard back in php4 when java already had a robust soap
api (and probly .net too).

im sure it was great in its hey-day.
the real problem using it anymore is, as you observed, you have to acquaint
yourself w/ a totally new (to use
SoapClient folks) API.  and at this point (w/ SoapClient out there) i beg
the question, why bother.

i hate to suggest it, but you might want to take a little time and
investigate what other
restrictions you host has.  if the list is long you may want to consider a
move.
it may seem arduous now, but the longer you wait the more arduous it will
become.

-nathan

On 9/26/07, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote:
>
> On  26. Sep 2007, at 15:26, Nathan Nobbe wrote:
>
> > i just read the first message in this thread and NuSoap immediately
> > came to
> > mind. though it will solve your problem you may end up like me,
> > hating to use
> > NuSoap under duress.  i think it was really popular back in th php4
> > days when there
> > was nothing solid that could be built right into php.  anyway in my
> > experience
> > its a relic and i try to stay away from it if i can.
>
> I already see what you mean.
> A big bummer is that even though it uses the same class name as the
> default PHP SOAP module, it uses a totally different syntax/method
> calls etc, which all seem slightly queer to me. Which is terrible
> since the library the gateway provides wants to call (and extend)
> SoapClient() in very specific ways.
>
> I don't think I wanna go down this road very far...
>


Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf

On  26. Sep 2007, at 16:14, mike wrote:


On 9/25/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote:

i try to stay away from it if i can.


i think the same of SOAP. in my opinion a shower is the only place  
for soap.


Well put. :-D
I, too, fail to see what's so terribly special about it.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread David Christopher Zentgraf

On  26. Sep 2007, at 15:26, Nathan Nobbe wrote:

i just read the first message in this thread and NuSoap immediately  
came to
mind. though it will solve your problem you may end up like me,  
hating to use
NuSoap under duress.  i think it was really popular back in th php4  
days when there
was nothing solid that could be built right into php.  anyway in my  
experience

its a relic and i try to stay away from it if i can.


I already see what you mean.
A big bummer is that even though it uses the same class name as the  
default PHP SOAP module, it uses a totally different syntax/method  
calls etc, which all seem slightly queer to me. Which is terrible  
since the library the gateway provides wants to call (and extend)  
SoapClient() in very specific ways.


I don't think I wanna go down this road very far...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread mike
On 9/25/07, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> i try to stay away from it if i can.

i think the same of SOAP. in my opinion a shower is the only place for soap.

simple XML, REST, JSON, lighter weight things are what i prefer. even
XML-RPC i can live without.

my $0.02

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread Nathan Nobbe
i just read the first message in this thread and NuSoap immediately came to
mind.
though it will solve your problem you may end up like me, hating to use
NuSoap
under duress.  i think it was really popular back in th php4 days when there
was
nothing solid that could be built right into php.  anyway in my experience
its a
relic and i try to stay away from it if i can.

-nathan

On 9/26/07, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote:
>
> On  26. Sep 2007, at 13:19, mike wrote:
>
> > i've downloaded PEAR packages before and used them manually.
> >
> > all PEAR is is PHP object code modules in a central place. nothing
> > special, really.
> >
> > you just have to tweak some script paths and you can use
> > include/require on the files like normal.
>
> That's what I thought, but PEAR::SOAP seems to depend on the PEAR
> base package. ...which I could probably install manually as well, I
> know.
>
> But I just found out about NuSOAP (http://dietrich.ganx4.com/
> nusoap/), which seems to be what I'm looking for, a no-strings-
> attached SOAP implementation. I'm trying my luck with this one for
> now. :)
>
> Cheers,
> Dav
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread David Christopher Zentgraf

On  26. Sep 2007, at 13:19, mike wrote:


i've downloaded PEAR packages before and used them manually.

all PEAR is is PHP object code modules in a central place. nothing
special, really.

you just have to tweak some script paths and you can use
include/require on the files like normal.


That's what I thought, but PEAR::SOAP seems to depend on the PEAR  
base package. ...which I could probably install manually as well, I  
know.


But I just found out about NuSOAP (http://dietrich.ganx4.com/ 
nusoap/), which seems to be what I'm looking for, a no-strings- 
attached SOAP implementation. I'm trying my luck with this one for  
now. :)


Cheers,
Dav

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP in PHP on very restricted host?

2007-09-25 Thread mike
On 9/25/07, David Zentgraf <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We need to work with a credit card checking company for an online
> store. The one we're looking at only offers an API implementation via
> PHP modules, or via SOAP protocol. Unfortunately our host is
> extremely restrictive right now and did not --enable-soap and even
> did a --without-pear, so we can't even use the PEAR::SOAP package. Is
> there another implementation of SOAP or another way to possibly get
> SOAP going in such a restrictive environment?

i've downloaded PEAR packages before and used them manually.

all PEAR is is PHP object code modules in a central place. nothing
special, really.

you just have to tweak some script paths and you can use
include/require on the files like normal.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP PEAR/NuSOAP

2006-03-20 Thread T.Lensselink
chris smith said:
> On 3/21/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
>> I'm working on a small webservice. When started this project i used the
>> NuSOAP library. And it does the job perfectly. But last weekend i was
>> playing around with the PEAR::SOAP package. This seems to be a lot more
>> stable. And for sure a llot faster.
>>
>> Only in NuSOAP i could do the following to get to a secured page.
>>
>> $client->setCredentials(USERNAME, PASSWORD, AUTHTYPE);
>>
>> Now i wanna do the same in PEAR::SOAP but can't figure out a way to do
>> it.
>> Main is i just want Basic HTTP authentication. Maybe somebody knows?
>
> You might get a faster response on the pear list:
>
> http://pear.php.net/support/lists.php
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>


Yes after i posted was thinking the same... Still to early :)

Thnx anyway!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP PEAR/NuSOAP

2006-03-20 Thread chris smith
On 3/21/06, T.Lensselink <[EMAIL PROTECTED]> wrote:
> I'm working on a small webservice. When started this project i used the
> NuSOAP library. And it does the job perfectly. But last weekend i was
> playing around with the PEAR::SOAP package. This seems to be a lot more
> stable. And for sure a llot faster.
>
> Only in NuSOAP i could do the following to get to a secured page.
>
> $client->setCredentials(USERNAME, PASSWORD, AUTHTYPE);
>
> Now i wanna do the same in PEAR::SOAP but can't figure out a way to do it.
> Main is i just want Basic HTTP authentication. Maybe somebody knows?

You might get a faster response on the pear list:

http://pear.php.net/support/lists.php

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] SOAP Problems SOLVED!

2006-01-10 Thread Jay Paulson \(CE CEN\)
I got it to work! What I had to do is make an associtive array with the keys 
being the name of the params that needed to get passed to the 'execute' method 
that it was calling via soap.  Or conversely you could write the $params as 
objects instead of an array.

Code below:

$params["From"] = "06/01/2005"; // also can use $params->From = "date";
$params["to"] = "12/31/2005"; // also can use $params->to = "date";

$client = new SoapClient("some.wsdl", array("trace" => 1, "exceptions" => 0));

try {
print($client->execute($params));
} catch (SoapFault $exception) {
echo $exception;
}


-Original Message-
From: Jay Paulson (CE CEN) [mailto:[EMAIL PROTECTED]
Sent: Tue 1/10/2006 11:32 AM
To: php-general@lists.php.net
Subject: [PHP] SOAP Problems.
 
I'm trying to call a SOAP service where you pass it a couple of dates and it is 
supposed to return stuff.  My testing code is below along with the errors I'm 
getting.  What's strange is that it's not working in php but it works perfectly 
in Flash.  The request it is sending is only sending one param the $to value 
and not the $from value.  Any idea what's going on?

$from = "06/01/2005"; // some date but what format?
$to = "12/31/2005"; // some date but what format?

$client = new SoapClient("some.wsdl", array("trace" => 1, "exceptions" => 0));

var_dump($client->__getFunctions());
echo "";
var_dump($client->__getTypes());
echo "";

try {
print($client->execute($from, $to));
} catch (SoapFault $exception) {
echo $exception;
}
$client->execute($from, $to);
print "\n";
print "Request :\n".htmlspecialchars($client->__getLastRequest()) ."\n";
print "Response:\n".htmlspecialchars($client->__getLastResponse())."\n";
print "";

var_dump($client->execute($from, $to));
echo "";

echo "";
print($client->__soapCall("execute", array("From" => $from, "to" => $to)));



array(1) { [0]=>  string(44) "executeResponse execute(execute $parameters)" }

array(2) { [0]=> string(44) "struct execute { string From; string to; }" [1]=> 
string(44) "struct executeResponse { string wsReturn; }" }

SoapFault exception: [soapenv:Server.userException] [TeamworksException 
name='Process: 'HR Training Infomation' ProcessItem: 'Untitled0' Type: 'ITEM'', 
message='Internal Script error: org.mozilla.javascript.WrappedException: 
WrappedException of ORA-01858: a non-numeric character was found where a 
numeric was expected ', line=-1, pos=-1 nested=] in 
/Library/WebServer/Documents/services/soap-test.php:9 Stack trace: #0 
/Library/WebServer/Documents/services/soap-test.php(9): 
SoapClient->__call('execute', Array) #1 
/Library/WebServer/Documents/services/soap-test.php(9): 
SoapClient->execute('06/01/2005', '12/31/2005') #2 {main}

Request :

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="somens">12/31/2005

Response:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 
  
   soapenv:Server.userException
   [TeamworksException name='Process: 'HR Training 
Infomation' ProcessItem: 'Untitled0' Type: 
'ITEM'', message='Internal Script error: 
org.mozilla.javascript.WrappedException: WrappedException of ORA-01858: a 
non-numeric character was found where a numeric was expected
', line=-1, pos=-1 nested=]
   
  
 




object(SoapFault)#2 (9) { ["message:protected"]=> string(0) "" 
["string:private"]=> string(0) "" ["code:protected"]=> int(0) 
["file:protected"]=> string(51) 
"/Library/WebServer/Documents/services/soap-test.php" ["line:protected"]=> 
int(16) ["trace:private"]=> array(2) { [0]=> array(6) { ["file"]=> string(51) 
"/Library/WebServer/Documents/services/soap-test.php" ["line"]=> int(16) 
["function"]=> string(6) "__call" ["class"]=> string(10) "SoapClient" 
["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(7) "execute" [1]=> 
array(2) { [0]=> string(10) "06/01/2005" [1]=> string(10) "12/31/2005" } } } 
[1]=> array(6) { ["file"]=> string(51) 
"/Library/WebServer/Documents/services/soap-test.php" ["line"]=> int(16) 
["function"]=> string(7) "execute" ["class"]=> string(10) "SoapClient" 
["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(10) "06/01/2005" 
[1]=> string(10) "12/31/2005" } } } ["faultstring"]=> string(300) 
"[TeamworksException name='Process: 'HR Training Infomation' ProcessItem: 
'Untitled0' Type: 'ITEM'', message='Internal Script error: 
org.mozilla.javascript.WrappedException: WrappedException of ORA-01858: a 
non-numeric character was found where a numeric was expected ', line=-1, pos=-1 
nested=]" ["faultcode"]=> string(28) "soapenv:Server.userException" 
["detail"]=> string(0) "" }

SoapFault exception: [soapenv:Server.userException] [TeamworksException 
name='Process: 'HR Training Infomation' ProcessItem: 'Untitled0' Type: 'ITEM'', 
message='Internal Script error: org.mozilla.javascript.WrappedException: 
WrappedException of ORA-01858: a non-numeric character was found where a 
numeric was expected '

Re: [PHP] SOAP and PHP

2005-11-17 Thread Angelo Zanetti


Angelo Zanetti wrote:

Hi guys.

I've googled but found so many pages that I'm not sure what to use.

I want to use PHP to make use of SOAP.

I've found:
-nuSoap
-libxml(2)
-php-soap
-and others which seemed less important.

Can you recommend which one to use? and which one is the most supported.
Also if I've missed some that you feel I should know about please let me 
know.

Thanks in advance.

Angelo


 HI guys.

I've found nuSOAP. it seems to work well. Im not using PHP5 so couldnt 
use the suggestions but thanks anyway...


http://dietrich.ganx4.com/nusoap/

regards

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP and PHP

2005-11-16 Thread Chris Shiflett

Angelo Zanetti wrote:

I've googled but found so many pages that I'm not sure what to use.

I want to use PHP to make use of SOAP.


If you're using PHP 5, this is a good option:

http://php.net/soap

Hope that helps.

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP and PHP

2005-11-16 Thread Torgny Bjers
Angelo Zanetti wrote:

> Hi guys.
>
> I've googled but found so many pages that I'm not sure what to use.
>
> I want to use PHP to make use of SOAP.
>
> I've found:
> -nuSoap
> -libxml(2)
> -php-soap
> -and others which seemed less important.
>
> Can you recommend which one to use? and which one is the most supported.
> Also if I've missed some that you feel I should know about please let
> me know.
> Thanks in advance.
>
> Angelo


Not sure, but there's already a couple of relevant classes in PEAR:
http://pear.php.net/search.php?q=soap&in=packages&x=0&y=0

A hot tip is to always search in the packages there. :)
http://pear.php.net/packages.php

Warm Regards,
Torgny

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP w/PHP 4

2004-10-29 Thread Steve Brown
> Does PHP 4 support SOAP, or does something have to be added to it??

We use the NuSOAP package in our SOAP apps: 
http://dietrich.ganx4.com/nusoap/index.php

We had to use the latest CVS version of NuSOAP to get all of our apps
working correctly, NOT the current "Stable" version however.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP speed

2004-08-28 Thread Brent Clements
This isn't really answer to your question, but to possibly simplify your
authentication mechanism, you ought to take a look at the pear package
Liveuser which allows you to have somewhat of a distributed authentication
architecture.
Check out http://pear.php.net/package/LiveUser

-Brent

- Original Message - 
From: "FrzzMan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 28, 2004 4:55 PM
Subject: [PHP] SOAP speed


> Hello,
>
> I'm developing some site that will share the same UserDB, because these
> site are quite large in scale so I decided to host it on different
servers.
>
> Each site will have it own cache of active user on the site, so the user
> wont' have to be authenticated every request (will be a pain in the a$$
> I'm sure), the cache will be cleared when the session time out.
>
> But since I don't have much experience with these kind of distributed
> authenticate process with SOAP, so I wonder how long it will take to
> receive the response from the UserDB server using SOAP.
>
> There's a change that the site server will be located @ Europe, while
> the UserDB server will be located @ US (for global access).
>
> If the transmission time is about 1, 2 or even 3 secs, I think it
> acceptable. btw, do you have any experience about this?
>
> TIA
>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] SOAP client class that supports https????

2002-08-01 Thread Anson Smith

The class I am referring to in the original message is nuSphere's nuSoap
class which works great over http by the way.

---Original Message---

From: Anson Smith
Date: Thursday, August 01, 2002 12:38:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP client class that supports https

I am working on a project that requires me to access a web service over
https.
I was wondering if anyone has any luck getting this class to work over https
or if anyone knows of a soap client class that supports https??

thanks, 
Anson Smith


RE: [PHP] SOAP

2002-03-11 Thread Kearns, Terry

This does indeed help tremendously.

My problem is that while I do use Linux at home for all my PHP development,
I have to use Windows at work :(
I've already stretched the friendship by coercing them to use PHP instead of
CF/ASP.

I was thinking of looking at XMLRPC but I wanted to run with SOAP because of
it's greater functionality. I had a skim read of the SOAP spec and was
surprised to see an RPC section in there but I don't know if it's the same
as the official XML-RPC spec.

I think my next step will be to install the Linux version on a virtual
machine at work and have a play. Presumably, when you say the Linux version,
it will also work for Solaris?  They use Solaris here at work and it's
possible I could convince them to go from windows to Solaris.

I found the spec from the W3C a little hard to read so I'll spend some time
searching the net for tutorials.

Do you need to know much about the anatomy of it to ustilise it?


[TK] 

> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, 11 March 2002 5:29 PM
> To: Kearns, Terry
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] SOAP
> 
> 
>   Hi
> I've tried the SOAPx4 by Dietriech. Looks good ('m not very 
> profocent in SOAP). Firstly I tried to use XMLRPC for my 
> stuff but found the UsefulInc implementation by Edd Dumbill 
> is so slow - For array with 100 elements I 've to wait 4 
> seconds to transfer for the server to the client(in my case 
> on one machine). Then looked for alternative and found SOAP. 
> After a little big search on the net I found SOAPx4. As far 
> as I can remember there are one or two more implementations 
> but I cannot find them (phpclasses changed their adress to 
www.phpclasses.org). At last I found that 4.1.x versions are shipped with
extension for XMLRPC and I started to use it. Interesting is that this
extension supports SOAP 1.1 specification(by the words of his author). I've
not tried the SOAP part but after looking at the source I found that when
receiving a packet the extension tries to distinguish whether this is xmlrpc
packet or soap envelope.It is bad that the extension is compilable only
under Linux. There is no version for windows. I was forced to switch to
Linux to use it. Hope that helps.

Best regards,
Andrey Hristov

On Monday 11 March 2002 06:52 am, you wrote:
> Who has had a crack at using SOAP with PHP (both client and server)?
>
> What have you learned that you would recommend to someone just 
> starting out with soap?
>
> I've noticed that there are a few options on the horizon, I'm busy 
> checking out the scripts written by Manuel Lemos.
>
> For all those who don't know WTF I am talking about 
> http://www.w3.org/TR/2001/WD-soap12-20010709/
> http://www.soapware.org/directory/4/implementations

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] SOAP

2002-03-10 Thread Andrey Hristov

Hi
I've tried the SOAPx4 by Dietriech. Looks good ('m not very profocent in SOAP).
Firstly I tried to use XMLRPC for my stuff but found the UsefulInc implementation by 
Edd Dumbill is so slow -
For array with 100 elements I 've to wait 4 seconds to transfer for the server to the 
client(in my case on one machine).
Then looked for alternative and found SOAP. After a little big search on the net I 
found SOAPx4. As far as I can remember
there are one or two more implementations but I cannot find them (phpclasses changed 
their adress to www.phpclasses.org).
At last I found that 4.1.x versions are shipped with extension for XMLRPC and I 
started to use it. Interesting is that this extension
supports SOAP 1.1 specification(by the words of his author). I've not tried the SOAP 
part but after looking at the source I found that
when receiving a packet the extension tries to distinguish whether this is xmlrpc 
packet or soap envelope.It is bad that the extension
is compilable only under Linux. There is no version for windows. I was forced to 
switch to Linux to use it.
Hope that helps.

Best regards,
Andrey Hristov

On Monday 11 March 2002 06:52 am, you wrote:
> Who has had a crack at using SOAP with PHP (both client and server)?
>
> What have you learned that you would recommend to someone just starting out
> with soap?
>
> I've noticed that there are a few options on the horizon, I'm busy checking
> out the scripts written by Manuel Lemos.
>
> For all those who don't know WTF I am talking about
> http://www.w3.org/TR/2001/WD-soap12-20010709/
> http://www.soapware.org/directory/4/implementations

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] SOAP status

2002-02-26 Thread Mika Tuupola

On Mon, 25 Feb 2002, Robert Mena wrote:

> I was wondering if anyone has developed web services
> using SOAP with php.  I'd like to use it in a future
> project but was wondering which  "tools" (classes,
> exemples) do we have and how stable are they.

PEAR has an ongoin work going on with SOAP. See:

http://chora.php.net/cvs.php/pear/SOAP

-- 
Mika Tuupola  http://www.appelsiini.net/~tuupola/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Rasmus Lerdorf

When doing XML/XSL stuff that applies to just about any scripting language
as Java has always been the reference implementation for this.  When
leaving the XML space the same is not true.  But yes, we have a bit of
catching up to do when it comes to XML/XSL/XSLT.

-Rasmus

On Mon, 1 Oct 2001, Chris Bailey wrote:

> Check out this page of SOAP implementations:
>
> http://www.soapware.org/directory/4/implementations
>
> It lists several for PHP, so those may give you a solution.
>
> This is an interesting issue though, especially in light of you bringing up
> Tomcat.  I don't mean to start a big flame war over languages, but this is
> one thing I struggle with in PHP land too.  I've been doing Java stuff for
> years, and am just starting to develop a few things in PHP.  PHP is fast and
> easy to use, and a lot easier to setup than Tomcat (or worse, Apache+Tomcat,
> and further, if you have a non-standard directory structure).  But, what
> I've found so far, is that if I need to do pretty much anything beyond a
> simple web app that is mostly a database client, Java just has so many more
> libraries and resources available, from SOAP, to XML, XSL, and more.  While
> it's not true that PHP doesn't have any of this, it just seems there is more
> momentum and solidity behind these types of things for Java.
>
> For example, I'm working on a web app that does a lot of XSL processing, and
> immediately I can just grab the various Apache XML and XSL toolkits and get
> rolling.  On PHP I can look into Sablotron and some stuff, but I don't get a
> feeling that I'd have near the level of functionality, and quality (or
> solidity/maturity of code) as I would with the various Java based tools.
>
>
> -Original Message-
> From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 10:46 AM
> To: 'Chris Bailey'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] SOAP Tool Kit for PHP
>
>
>
> Thanks. That's what I'm doing, and it is working, but it doesn't seem like
> it will be very robust, and I don't know if my roll your own will be
> compliant with MS SOAP messages and Apache SOAP messages.
>
> I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST
> variable. It comes as a string. I parse that XML to determine the method to
> invode (create, edit whatever). It works, but just seems sketch. Especially
> the ack back to the poster. It says 200 OK, because the host and file I'm
> posting to are found, but if there is an error in the method or anywhere
> else, I'm supposed build the SOAP:Fault XML and send that back.
>
> I mean all the IP functions in PHP are so nice, and SOAP is an IP service as
> well. Why no love for SOAP?
>
>
>
> -Original Message-
> From: Chris Bailey [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 1:30 PM
> To: Dahnke, Eric; [EMAIL PROTECTED]
> Subject: RE: [PHP] SOAP Tool Kit for PHP
>
>
> You could also consider possibly the reverse of what you're doing.  I'm not
> sure if it would actually work well, nor can I give you real details on how
> to do it, but you can always use Java classes from PHP.  Depending on how
> much SOAP is needed/used across your site, you could continue with PHP for
> the bulk of your site, and just use Java classes to handle the SOAP stuff
> when needed.  The primary issue I don't know about since I haven't looked
> into it, is whether it's reasonable to have PHP receive the initial SOAP
> request and how you would then hand it off to the Java classes for
> processing, etc.  Anyway, just a thought...
>
> -Original Message-
> From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 01, 2001 8:15 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] SOAP Tool Kit for PHP
>
>
>
> My god does PHP need one. Or a library of functions to use.
>
> Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
> variable and rolling my own as they say, but it sure would be nice. I've
> seen Manual Lemos' soap classes, and they are cool, but aren't really what I
> need.
>
> PHP is fast, has beautiful syntax and I love it, but I think it needs to
> grow up a bit. I don't mean to start a war, but it is true, php needs to
> evolve into something beyond a newbie language great for producing db driven
> web-sites.
>
> I wish I could help, and after a few more C classes I will be able to, but
> until then, I can only hope some C wizard is producing something like this.
> Web-services are going to be big. Independent of .net (*uck MS), but the
> messaging (SOAP) paradigm over http is going to be big. How d

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey

Check out this page of SOAP implementations:

http://www.soapware.org/directory/4/implementations

It lists several for PHP, so those may give you a solution.

This is an interesting issue though, especially in light of you bringing up
Tomcat.  I don't mean to start a big flame war over languages, but this is
one thing I struggle with in PHP land too.  I've been doing Java stuff for
years, and am just starting to develop a few things in PHP.  PHP is fast and
easy to use, and a lot easier to setup than Tomcat (or worse, Apache+Tomcat,
and further, if you have a non-standard directory structure).  But, what
I've found so far, is that if I need to do pretty much anything beyond a
simple web app that is mostly a database client, Java just has so many more
libraries and resources available, from SOAP, to XML, XSL, and more.  While
it's not true that PHP doesn't have any of this, it just seems there is more
momentum and solidity behind these types of things for Java.

For example, I'm working on a web app that does a lot of XSL processing, and
immediately I can just grab the various Apache XML and XSL toolkits and get
rolling.  On PHP I can look into Sablotron and some stuff, but I don't get a
feeling that I'd have near the level of functionality, and quality (or
solidity/maturity of code) as I would with the various Java based tools.


-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 10:46 AM
To: 'Chris Bailey'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP] SOAP Tool Kit for PHP



Thanks. That's what I'm doing, and it is working, but it doesn't seem like
it will be very robust, and I don't know if my roll your own will be
compliant with MS SOAP messages and Apache SOAP messages.

I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST
variable. It comes as a string. I parse that XML to determine the method to
invode (create, edit whatever). It works, but just seems sketch. Especially
the ack back to the poster. It says 200 OK, because the host and file I'm
posting to are found, but if there is an error in the method or anywhere
else, I'm supposed build the SOAP:Fault XML and send that back.

I mean all the IP functions in PHP are so nice, and SOAP is an IP service as
well. Why no love for SOAP?



-Original Message-
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 1:30 PM
To: Dahnke, Eric; [EMAIL PROTECTED]
Subject: RE: [PHP] SOAP Tool Kit for PHP


You could also consider possibly the reverse of what you're doing.  I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP.  Depending on how
much SOAP is needed/used across your site, you could continue with PHP for
the bulk of your site, and just use Java classes to handle the SOAP stuff
when needed.  The primary issue I don't know about since I haven't looked
into it, is whether it's reasonable to have PHP receive the initial SOAP
request and how you would then hand it off to the Java classes for
processing, etc.  Anyway, just a thought...

-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP Tool Kit for PHP



My god does PHP need one. Or a library of functions to use.

Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.

PHP is fast, has beautiful syntax and I love it, but I think it needs to
grow up a bit. I don't mean to start a war, but it is true, php needs to
evolve into something beyond a newbie language great for producing db driven
web-sites.

I wish I could help, and after a few more C classes I will be able to, but
until then, I can only hope some C wizard is producing something like this.
Web-services are going to be big. Independent of .net (*uck MS), but the
messaging (SOAP) paradigm over http is going to be big. How does php fit in
there?

It looks as though we're headed over to tomcat, and I'm probably going to
bring a bunch of php developers with me. And that sucks, because tomcat is
slow, and it takes twice as long to produce an application w/ non masters
level or big time CS people.

The first thing I'm going to try though is running php as a servlet under
tomcat, but it's only to get at the apache soap tools. See what I mean.

Thanks to all the php developers. 'gards - Eric

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://ww

RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Dahnke, Eric


Thanks. That's what I'm doing, and it is working, but it doesn't seem like
it will be very robust, and I don't know if my roll your own will be
compliant with MS SOAP messages and Apache SOAP messages.

I'm reading the Soap:Envelope and Body XML via the $HTTP_RAW_DATA_POST
variable. It comes as a string. I parse that XML to determine the method to
invode (create, edit whatever). It works, but just seems sketch. Especially
the ack back to the poster. It says 200 OK, because the host and file I'm
posting to are found, but if there is an error in the method or anywhere
else, I'm supposed build the SOAP:Fault XML and send that back. 

I mean all the IP functions in PHP are so nice, and SOAP is an IP service as
well. Why no love for SOAP?



-Original Message-
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 1:30 PM
To: Dahnke, Eric; [EMAIL PROTECTED]
Subject: RE: [PHP] SOAP Tool Kit for PHP


You could also consider possibly the reverse of what you're doing.  I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP.  Depending on how
much SOAP is needed/used across your site, you could continue with PHP for
the bulk of your site, and just use Java classes to handle the SOAP stuff
when needed.  The primary issue I don't know about since I haven't looked
into it, is whether it's reasonable to have PHP receive the initial SOAP
request and how you would then hand it off to the Java classes for
processing, etc.  Anyway, just a thought...

-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP Tool Kit for PHP



My god does PHP need one. Or a library of functions to use.

Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.

PHP is fast, has beautiful syntax and I love it, but I think it needs to
grow up a bit. I don't mean to start a war, but it is true, php needs to
evolve into something beyond a newbie language great for producing db driven
web-sites.

I wish I could help, and after a few more C classes I will be able to, but
until then, I can only hope some C wizard is producing something like this.
Web-services are going to be big. Independent of .net (*uck MS), but the
messaging (SOAP) paradigm over http is going to be big. How does php fit in
there?

It looks as though we're headed over to tomcat, and I'm probably going to
bring a bunch of php developers with me. And that sucks, because tomcat is
slow, and it takes twice as long to produce an application w/ non masters
level or big time CS people.

The first thing I'm going to try though is running php as a servlet under
tomcat, but it's only to get at the apache soap tools. See what I mean.

Thanks to all the php developers. 'gards - Eric

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] SOAP Tool Kit for PHP

2001-10-01 Thread Chris Bailey

You could also consider possibly the reverse of what you're doing.  I'm not
sure if it would actually work well, nor can I give you real details on how
to do it, but you can always use Java classes from PHP.  Depending on how
much SOAP is needed/used across your site, you could continue with PHP for
the bulk of your site, and just use Java classes to handle the SOAP stuff
when needed.  The primary issue I don't know about since I haven't looked
into it, is whether it's reasonable to have PHP receive the initial SOAP
request and how you would then hand it off to the Java classes for
processing, etc.  Anyway, just a thought...

-Original Message-
From: Dahnke, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:15 AM
To: [EMAIL PROTECTED]
Subject: [PHP] SOAP Tool Kit for PHP



My god does PHP need one. Or a library of functions to use.

Yes, I have built in CURL support and am reading the $HTTP_RAW_DATA_POST
variable and rolling my own as they say, but it sure would be nice. I've
seen Manual Lemos' soap classes, and they are cool, but aren't really what I
need.

PHP is fast, has beautiful syntax and I love it, but I think it needs to
grow up a bit. I don't mean to start a war, but it is true, php needs to
evolve into something beyond a newbie language great for producing db driven
web-sites.

I wish I could help, and after a few more C classes I will be able to, but
until then, I can only hope some C wizard is producing something like this.
Web-services are going to be big. Independent of .net (*uck MS), but the
messaging (SOAP) paradigm over http is going to be big. How does php fit in
there?

It looks as though we're headed over to tomcat, and I'm probably going to
bring a bunch of php developers with me. And that sucks, because tomcat is
slow, and it takes twice as long to produce an application w/ non masters
level or big time CS people.

The first thing I'm going to try though is running php as a servlet under
tomcat, but it's only to get at the apache soap tools. See what I mean.

Thanks to all the php developers. 'gards - Eric

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] SOAP

2001-02-14 Thread Bogdan Morar

Search in:
XML-RPC Home Page : http://www.xmlrpc.com/
or
http://www.xmlhack.com/list.php?cat=25

Bogdan Morar
www.bogmor.com

Christopher Cheng wrote:
> 
> Is there any development of SOAP extension to PHP?
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]