Jump to content
php.lv forumi

web serviss


hoho

Recommended Posts

Paldies, uztaisīju pirmo WS.

 

1) Izsaukums nav no PHP. Izsaukuma piemeers (input parameter):

 

<?xml version="1.0" encoding="UTF-8"?>

<requestXML>

<field name="name">sss</field>

</requestXML>

 

2) WSDL, kurš tiek izmantots pieprasījumā ir šeit - http://www.paste.lv/129

 

3) Šeit ir funkcija servera pusē, kas apstrādās pieprasījumus - http://www.paste.lv/130

 

Es pārbaudīju, tiešam tiek izsaukta funkcija filterDoc, bet parametrs $someone ir tukš! Kā pareizi servera pusē apstrādāt parametrus, kurus es saņemu no cita servera izmantojot šo WS?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...