Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.net Soap Xml Push

Status
Not open for further replies.

Trob70

Programmer
Sep 25, 2012
89
AU
I have been given some vague information...

Really appreciate some help... if anyone with this knowledge has some time.
Hope this info is sufficient

This is the information i have been given it is in c# ?? but i have to do it in VB.net (Visual Basic)
Apparently the server automatically sends information every 30 seconds..... my program is required to save the info to a file folder eg c:\saved
Sending this package initiates the push function and then it is auto throughout the day..

1. Appreciate the VB code to send the soap package
2. ?????? The server sends the info ..how does it know on my machine to save to c:\saved
Does my program need to keep polling for a message ??


>>>>>>>>>>>>>>>>This is the info i have been given>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This method pushes the current list of available programs.

public string ProgramList(string ID, string programName, int rally, string xmlProgramList)

<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:xsi=" xmlns:xs="targetNamespace=" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xs:element name="xxAvailablePrograms">
<xs:complexType>
<xs:sequence>
<xs:element name="numberOfPrograms" type="xs:integer" />
<xs:element name="programList">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="ProgramInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="programNumber" type="xs:integer" />
<xs:element name="programName" type="xs:string" />
<xs:element name="programDate" type="xs:unsignedInt" />
<xs:element name="programStatus" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="errorCode" type="xs:integer" />
<xs:element name="error" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Regards Trob70
 
As there has not been any replies, i have give the project the miss..have tackled it another way !!!

Regards Trob70
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top