Our vender provided us a web service:
1> xyztest.xsd file...
------------------------------------
postEvent PostEventRequest
-------------------------------------
authetication authentication
eventname string
source string
ID string
date datetime
name string
parameters NameParameterValue
---------------------------------------
2> authetication further nested into:
---------------------------------------
authentication authentication
--------------------------------------
principal string
credential string
---------------------------------------
3> parameters further nested into
--------------------------------------
parameter namePrameterValue
name string
(grp1) choice
-------------------------------------
(grp1) choice
---------------------------------
stringvalue string
numericvalue numericvalue
booleanvalue boolean
---------------------------------------------------------------
I am trying to pass some parameters to this web service from test.aspx webform....
The out it is expecting is something like this
Now I added a web referece to this webservice
if I do sref.postevent
it is expecting 1st parameter as authetication as xyztest.authentication
same for parameters..
------------------------------
I am not sure how to pass these parameters to web service.. to trigger a webservice..
I would appreciate if someone could help me with this....
Thanks
1> xyztest.xsd file...
------------------------------------
postEvent PostEventRequest
-------------------------------------
authetication authentication
eventname string
source string
ID string
date datetime
name string
parameters NameParameterValue
---------------------------------------
2> authetication further nested into:
---------------------------------------
authentication authentication
--------------------------------------
principal string
credential string
---------------------------------------
3> parameters further nested into
--------------------------------------
parameter namePrameterValue
name string
(grp1) choice
-------------------------------------
(grp1) choice
---------------------------------
stringvalue string
numericvalue numericvalue
booleanvalue boolean
---------------------------------------------------------------
I am trying to pass some parameters to this web service from test.aspx webform....
The out it is expecting is something like this
HTML:
<authentication>
<principal>test</principal>
<creditial>test123</credential>
<authetication>
<parameters>
<name>text<name>
<value>testtext</value>
</parameters>
<name>numeric</name>
<value>56</value>
</parameters>
VB.NET:
dim xref as new xyztext.
if I do sref.postevent
it is expecting 1st parameter as authetication as xyztest.authentication
same for parameters..
VB.NET:
parameter() as xyztest.nameparameterValuePair
------------------------------
I am not sure how to pass these parameters to web service.. to trigger a webservice..
I would appreciate if someone could help me with this....
Thanks
Last edited by a moderator: