logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Document/literal implementation: msg#00013

Subject: Document/literal implementation
Hello everyone,

 

I have a question about using document style together with literal use when registering a function.  My code works fine when I use rpc/encoded, as shown in the example below, but every time I switch to document/literal it gives me back nothing.  Any idea why this is happening? I suspect there is a different syntax in forming the request message, but it is just my guess. 

 

// Server

$server->register('fooFunction',               // method name

    array('input' =>

        'tns:InputProcessing'),                           // input parameters

    array('output' =>

        'tns:OutputProcessing'),                       // output parameters

    'urn:ServiceName',                                     // namespace

    'urn:ServiceName#fooFunction',          // soapaction

    'rpc',                                                                  // style

    'encoded',                                                       // use

    'Documentation goes here'                     // documentation

);

 

// Client

$result = $client->call('fooFunction', array('input' => $input));

 

I hope these code excerpts are sufficient, if not, please let me know.

 

Thank you very much in advace for any input.

 

Sincerely

Zhenya





Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general
<Prev in Thread] Current Thread [Next in Thread>