User Profile

Collapse

Profile Sidebar

Collapse
obj63
obj63
Last Activity: Aug 27 '08, 09:18 PM
Joined: Mar 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • obj63
    replied to PHP5 soap request, complex type from wsdl issues
    in PHP
    After some testing I have gotten closer with the following

    [PHP]$myarg = new SoapVar(array(' ListingID'=>12) , SOAP_ENC_OBJECT , null, 'namespace', 'ListingID', 'namespace');
    $myarg2 = new SoapVar(array(' Arguments'=>$my arg), SOAP_ENC_OBJECT , null, 'namespace', 'Arguments', 'namespace' );

    $result = $client->CancelEnhanced Listing($myarg2 );
    [/PHP]

    This then gives me the following:...
    See more | Go to post

    Leave a comment:


  • obj63
    started a topic PHP5 soap request, complex type from wsdl issues
    in PHP

    PHP5 soap request, complex type from wsdl issues

    Hi All,

    TIA, but currently I am trying to make a soap call to an API and I am not able to get the soap body to conform properly.

    The current soap body that I am generating is
    Code:
    <SOAP-ENV:Body>
    <ns1:CancelEnhancedListing xsi:type="ns1:135">
    <item><key>ListingID</key><value>12</value></item>
    </ns1:CancelEnhancedListing>
    ...
    See more | Go to post

  • Thanks again for the quick replies.
    I'll do some research with that and let you know how it all works.

    Joe
    See more | Go to post

    Leave a comment:


  • The main thing that I want to do is send an internal request from one page to another. Then if that page deems everything is okay to send back to the original page so it can display a form.

    The problem is I want the original communication to be internal because I am hitting different servers. So basically it is site1.com/page1.php hits site2.com/page2.php. if the response is good from site2.com/page2.php, site1.com/page1.php needs...
    See more | Go to post

    Leave a comment:


  • Thanks for the help, I was able to figure out what the issue was.
    I do have one other question though.

    So I have say page1.php that submits the underlying post to page2.php. page2.php then does what it needs to do, verifys the post submitted from page1.php and then is supposed to send a response back to page1.php.

    My question now is how do I get page1.php to read and use that response? Current code is something...
    See more | Go to post

    Leave a comment:


  • obj63
    started a topic Posting with out Submit - posted to page does nothing
    in PHP

    Posting with out Submit - posted to page does nothing

    Hello All,

    I am posting to a page with out a submit button using the function sendToHost - http://dodds.net/~cardinal/sendtohost.txt

    I send the following
    sendToHost('www .example.com',' post','/page.php', 'ERROR=01');
    where www.example.com is my site.

    The problem then is that page.php on the site should then read from the $_POST variable and write out the Error to the file.

    ...
    See more | Go to post
No activity results to display
Show More
Working...