Pls Help Me..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I am newbie..and if i sound stupid, excuse me
I have downloaded PEAR SOAP and started going through the
tutorials available on net.Then i started to see various examples
provided in SOAP/example.
             We have a requirement to pass a very Complex structure.
Then I tried to implement your wsdl_client.php, but the STRUCTURE
VARIABLES are not being printed on the browser.Could you please help me
in this regard.I have also seen example_server.php and server.php.
             In short, i am talking about echoStruct().

The O/P of the example is as follows:-

        this is a test string
        this is a test string
        Quotient is 3.1428571428571
        Error: You cannot divide by zero
        soapstruct Object([varString] => [varInt] => 0 [varFloat] => 0)
        varString:    ???? 
        varInt: 0     ????
        varFloat: 0   ????




Also one more query.I need to pass say ,structure B in another structure
A and then pass structure A in my function call...how would this affect
the entire scenario??(i mean, the way client should send this Struct A,
and the way typedef and dispatch_map changes in server)
          
          I need like this,
                 <MyExample>                             (stuct A)
                        <MyName>XYZ</MyName>             { 
                        <MyAddr>                           (struct B)
                                <HNO>###</HNO>             {
                                <CITY>ABC</CITY>           }
                        </MyAddr>
                </MyExample>                             }


I will be really obliged if you can help me out ,
Thanks a Lot ,
Siddarth.

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux