Sign in with
Sign up | Sign in
Your question

What XML is supposed to be sent back after WPS signup?

Last response: in Wireless Networking
Share
Anonymous
a b F Wireless
June 10, 2005 3:37:00 AM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Hi,

I've been testing a Wireless Provisioning Services setup and I have
gotten
to the stage where the client (XP SP2 laptop) sends the signup data
(XML/HTTPS) from
the signup wizard to the web application for processing (i.e. to create
a new
account).

According to the documentation
(http://msdn.microsoft.com/library/en-us/randz/protocol/...)
after the web application has processed the information, it is supposed
to send back XML confirming account creation and providing username and
password. What is the specific format of the XML response from the web
app to the client? I have been unable to find any documentation on
this. So I've resorted to guessing:

(1) I've tried sending back the Wizard schema with the credentials
panel filled in with the username and password but on the client I get
an Alert window saying "The wireless network provider found some errors
in the information you entered. Please correct the information and
retry."

(2) I've also tried sending back the User schema (based on the
example here
http://msdn.microsoft.com/library/default.asp?url=/libr...)
and in this case I get an error in WZCDLG saying as follows

[2052] 15:10:42: |||||||| /---CGetAndPostBasePage::o nStartTransmitting
[2052] 15:10:42: ||||||||| /---CGetAndPostBasePage::StartTransmission
[2052] 15:10:42: |||||||||| /---CPostPage::Transmit
[2052] 15:10:42: |||||||||| \___CPostPage::Transmit
[2052] 15:10:42: ||||||||| \___CGetAndPostBasePage::StartTransmission
[2052] 15:10:42: |||||||| \___CGetAndPostBasePage::o nStartTransmitting
[2052] 15:10:42: |||||||| /---CWinHttpEventsSink::o nResponseStart
[2052] 15:10:42: ||||||||| Status(200) text/xml

[2052] 15:10:42: |||||||| \___CWinHttpEventsSink::o nResponseStart
[2052] 15:10:42: ||||||||
/---CWinHttpEventsSink::o nResponseDataAvailable
[2052] 15:10:42: ||||||||
\___CWinHttpEventsSink::o nResponseDataAvailable
[2052] 15:10:42: |||||||| /---CWinHttpEventsSink::o nResponseFinished
[2052] 15:10:42: |||||||| \___CWinHttpEventsSink::o nResponseFinished
[2052] 15:10:42: |||||||| /---CGetAndPostBasePage::EndTransmission
[2052] 15:10:42: ||||||||| /---CWispWizard::ValidateXML
[2052] 15:10:42: ||||||||| \___CWispWizard::ValidateXML
[2052] 15:10:42: ||||||||| CGetAndPostBasePage ERROR:( 0x80070057):goop
from server FAILED to validate!
[2052] 15:10:42: The parameter is incorrect.
[2052] 15:10:43: |||||||| \___CGetAndPostBasePage::EndTransmission

I'd appreciate any help since without knowing the XML format required I
can't see any practical way to proceed.
Anonymous
a b F Wireless
July 5, 2005 3:47:41 AM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

I haven't managed to get any further at the moment.

Which part of the guest login are you having trouble with?
Anonymous
a b F Wireless
July 5, 2005 2:46:50 PM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Hi,

Did you manage to get this fixed as I'm in the same quandary and do not know
which xml to return to the client. I'm also curious as to how you got Guest
Authentcation working.

Thanks for you help and will post if I make any progress.

Bernard.


"white_cs" <white_cs@yahoo.com> wrote in message
news:1118385420.283455.179100@g44g2000cwa.googlegroups.com...
> Hi,

>

> I've been testing a Wireless Provisioning Services setup and I have

> gotten

> to the stage where the client (XP SP2 laptop) sends the signup data

> (XML/HTTPS) from

> the signup wizard to the web application for processing (i.e. to
create

> a new

> account).

>

> According to the documentation

>
(http://msdn.microsoft.com/library/en-us/randz/protocol/...)

> after the web application has processed the information, it is
supposed

> to send back XML confirming account creation and providing username
and

> password.  What is the specific format of the XML response from
the web

> app to the client? I have been unable to find any documentation on

> this. So I've resorted to guessing:

>

> (1) I've tried sending back the Wizard schema with the credentials

> panel filled in with the username and password but on the client I
get

> an Alert window saying "The wireless network provider found some
errors

> in the information you entered. Please correct the information and

> retry."

>

> (2) I've also tried sending back the User schema (based on the

> example here

>
http://msdn.microsoft.com/library/default.asp?url=/libr...)

> and in this case I get an error in WZCDLG saying as follows

>

> [2052] 15:10:42: ||||||||
/---CGetAndPostBasePage::o nStartTransmitting

> [2052] 15:10:42: |||||||||
/---CGetAndPostBasePage::StartTransmission

> [2052] 15:10:42: |||||||||| /---CPostPage::Transmit

> [2052] 15:10:42: |||||||||| \___CPostPage::Transmit

> [2052] 15:10:42: |||||||||
\___CGetAndPostBasePage::StartTransmission

> [2052] 15:10:42: ||||||||
\___CGetAndPostBasePage::o nStartTransmitting

> [2052] 15:10:42: |||||||| /---CWinHttpEventsSink::o nResponseStart

> [2052] 15:10:42: ||||||||| Status(200) text/xml

>

> [2052] 15:10:42: |||||||| \___CWinHttpEventsSink::o nResponseStart

> [2052] 15:10:42: ||||||||

> /---CWinHttpEventsSink::o nResponseDataAvailable

> [2052] 15:10:42: ||||||||

> \___CWinHttpEventsSink::o nResponseDataAvailable

> [2052] 15:10:42: ||||||||
/---CWinHttpEventsSink::o nResponseFinished

> [2052] 15:10:42: ||||||||
\___CWinHttpEventsSink::o nResponseFinished

> [2052] 15:10:42: |||||||| /---CGetAndPostBasePage::EndTransmission

> [2052] 15:10:42: ||||||||| /---CWispWizard::ValidateXML

> [2052] 15:10:42: ||||||||| \___CWispWizard::ValidateXML

> [2052] 15:10:42: ||||||||| CGetAndPostBasePage
ERROR:( 0x80070057):goop

> from server FAILED to validate!

> [2052] 15:10:42: The parameter is incorrect.

> [2052] 15:10:43: |||||||| \___CGetAndPostBasePage::EndTransmission

>

> I'd appreciate any help since without knowing the XML format required
I

> can't see any practical way to proceed.

>
Anonymous
a b F Wireless
July 5, 2005 2:48:31 PM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Hi,



Did you manage to get this fixed as I'm in the same quandary and do not know


which xml to return to the client.  I'm also curious as to how you got
Guest

Authentcation working.



Thanks for you help and will post if I make any progress.



Bernard.





"white_cs" <white_cs@yahoo.com> wrote in message

news:1118385420.283455.179100@g44g2000cwa.googlegroups.com...

> Hi,<BR>

> <BR>

> I've been testing a Wireless Provisioning Services setup and I
have<BR>

> gotten<BR>

> to the stage where the client (XP SP2 laptop) sends the signup
data<BR>

> (XML/HTTPS) from<BR>

> the signup wizard to the web application for processing (i.e. to


create<BR>

> a new<BR>

> account).<BR>

> <BR>

> According to the documentation<BR>

>

(http://msdn.microsoft.com/library/en-us/randz/protocol/...)<BR>

> after the web application has processed the information, it is

supposed<BR>

> to send back XML confirming account creation and providing username


and<BR>

> password.  What is the specific format of the XML response
from

the web<BR>

> app to the client? I have been unable to find any documentation
on<BR>

> this. So I've resorted to guessing:<BR>

> <BR>

> (1) I've tried sending back the Wizard schema with the
credentials<BR>

> panel filled in with the username and password but on the client I


get<BR>

> an Alert window saying "The wireless network provider
found some

errors<BR>

> in the information you entered. Please correct the information
and<BR>

> retry."<BR>

> <BR>

> (2) I've also tried sending back the User schema (based on
the<BR>

> example here<BR>

>

http://msdn.microsoft.com/library/default.asp?url=/libr...)<BR>

> and in this case I get an error in WZCDLG saying as
follows<BR>

> <BR>

> [2052] 15:10:42: ||||||||

/---CGetAndPostBasePage::o nStartTransmitting<BR>

> [2052] 15:10:42: |||||||||

/---CGetAndPostBasePage::StartTransmission<BR>

> [2052] 15:10:42: |||||||||| /---CPostPage::Transmit<BR>

> [2052] 15:10:42: |||||||||| \___CPostPage::Transmit<BR>

> [2052] 15:10:42: |||||||||

\___CGetAndPostBasePage::StartTransmission<BR>

> [2052] 15:10:42: ||||||||

\___CGetAndPostBasePage::o nStartTransmitting<BR>

> [2052] 15:10:42: ||||||||
/---CWinHttpEventsSink::o nResponseStart<BR>

> [2052] 15:10:42: ||||||||| Status(200) text/xml<BR>

> <BR>

> [2052] 15:10:42: ||||||||
\___CWinHttpEventsSink::o nResponseStart<BR>

> [2052] 15:10:42: ||||||||<BR>

> /---CWinHttpEventsSink::o nResponseDataAvailable<BR>

> [2052] 15:10:42: ||||||||<BR>

> \___CWinHttpEventsSink::o nResponseDataAvailable<BR>

> [2052] 15:10:42: ||||||||

/---CWinHttpEventsSink::o nResponseFinished<BR>

> [2052] 15:10:42: ||||||||

\___CWinHttpEventsSink::o nResponseFinished<BR>

> [2052] 15:10:42: ||||||||
/---CGetAndPostBasePage::EndTransmission<BR>

> [2052] 15:10:42: |||||||||
/---CWispWizard::ValidateXML<BR>

> [2052] 15:10:42: |||||||||
\___CWispWizard::ValidateXML<BR>

> [2052] 15:10:42: ||||||||| CGetAndPostBasePage

ERROR:( 0x80070057):goop<BR>

> from server FAILED to validate!<BR>

> [2052] 15:10:42: The parameter is incorrect.<BR>

> [2052] 15:10:43: ||||||||
\___CGetAndPostBasePage::EndTransmission<BR>

> <BR>

> I'd appreciate any help since without knowing the XML format
required

I<BR>

> can't see any practical way to proceed.<BR>

>


Anonymous
a b F Wireless
July 5, 2005 2:54:33 PM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Hi,<BR>

<BR>

Did you manage to get this fixed as I'm in the same quandary and do not know


<BR>

which xml to return to the client.  I'm also curious as to how you
got

Guest <BR>

Authentcation working.<BR>

<BR>

Thanks for you help and will post if I make any progress.<BR>

<BR>

Bernard.<BR>

<BR>

<BR>

"white_cs" <white_cs@yahoo.com> wrote in
message <BR>

news:1118385420.283455.179100@g44g2000cwa.googlegroups.com...<BR>

> Hi,<BR><BR>

> <BR><BR>

> I've been testing a Wireless Provisioning Services setup and I


have<BR><BR>

> gotten<BR><BR>

> to the stage where the client (XP SP2 laptop) sends the signup


data<BR><BR>

> (XML/HTTPS) from<BR><BR>

> the signup wizard to the web application for processing (i.e.
to

<BR>

create<BR><BR>

> a new<BR><BR>

> account).<BR><BR>

> <BR><BR>

> According to the documentation<BR><BR>

> <BR>

(http://msdn.microsoft.com/library/en-us/randz/protocol/...)<BR><BR>

> after the web application has processed the information, it is
<BR>

supposed<BR><BR>

> to send back XML confirming account creation and providing
username

<BR>

and<BR><BR>

> password.  What is the specific format of the XML
response

from <BR>

the web<BR><BR>

> app to the client? I have been unable to find any documentation


on<BR><BR>

> this. So I've resorted to
guessing:<BR><BR>

> <BR><BR>

> (1) I've tried sending back the Wizard schema with the

credentials<BR><BR>

> panel filled in with the username and password but on the
client I

<BR>

get<BR><BR>

> an Alert window saying "The wireless network
provider

found some <BR>

errors<BR><BR>

> in the information you entered. Please correct the information


and<BR><BR>

> retry."<BR><BR>

> <BR><BR>

> (2) I've also tried sending back the User schema (based on

the<BR><BR>

> example here<BR><BR>

> <BR>

http://msdn.microsoft.com/library/default.asp?url=/libr...)<BR><BR>

> and in this case I get an error in WZCDLG saying as

follows<BR><BR>

> <BR><BR>

> [2052] 15:10:42: |||||||| <BR>

/---CGetAndPostBasePage::o nStartTransmitting<BR><BR>

> [2052] 15:10:42: ||||||||| <BR>

/---CGetAndPostBasePage::StartTransmission<BR><BR>

> [2052] 15:10:42: ||||||||||
/---CPostPage::Transmit<BR><BR>

> [2052] 15:10:42: ||||||||||
\___CPostPage::Transmit<BR><BR>

> [2052] 15:10:42: ||||||||| <BR>

\___CGetAndPostBasePage::StartTransmission<BR><BR>

> [2052] 15:10:42: |||||||| <BR>

\___CGetAndPostBasePage::o nStartTransmitting<BR><BR>

> [2052] 15:10:42: ||||||||

/---CWinHttpEventsSink::o nResponseStart<BR><BR>

> [2052] 15:10:42: ||||||||| Status(200)
text/xml<BR><BR>

> <BR><BR>

> [2052] 15:10:42: ||||||||

\___CWinHttpEventsSink::o nResponseStart<BR><BR>

> [2052] 15:10:42: ||||||||<BR><BR>

>
/---CWinHttpEventsSink::o nResponseDataAvailable<BR><BR>

> [2052] 15:10:42: ||||||||<BR><BR>

>
\___CWinHttpEventsSink::o nResponseDataAvailable<BR><BR>

> [2052] 15:10:42: |||||||| <BR>

/---CWinHttpEventsSink::o nResponseFinished<BR><BR>

> [2052] 15:10:42: |||||||| <BR>

\___CWinHttpEventsSink::o nResponseFinished<BR><BR>

> [2052] 15:10:42: ||||||||

/---CGetAndPostBasePage::EndTransmission<BR><BR>

> [2052] 15:10:42: |||||||||

/---CWispWizard::ValidateXML<BR><BR>

> [2052] 15:10:42: |||||||||

\___CWispWizard::ValidateXML<BR><BR>

> [2052] 15:10:42: ||||||||| CGetAndPostBasePage <BR>

ERROR:( 0x80070057):goop<BR><BR>

> from server FAILED to validate!<BR><BR>

> [2052] 15:10:42: The parameter is
incorrect.<BR><BR>

> [2052] 15:10:43: ||||||||

\___CGetAndPostBasePage::EndTransmission<BR><BR>

> <BR><BR>

> I'd appreciate any help since without knowing the XML format


required <BR>

I<BR><BR>

> can't see any practical way to
proceed.<BR><BR>

> <BR>

<BR>


Anonymous
a b F Wireless
July 9, 2005 4:16:03 PM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Hi white_cs,

Already solved the Guest access problem with help from your postings
sometime back in Yahoo (certificate problems with BITS). Just to let you
know that with the help of Pekka Niikkonen at Microsoft, I got the wizard
working. See the correspondence below. Pekka has asked to me let you and
the rest of the newsgroup know that you can direct questions regarding WPS
to wpsfb@microsoft.com. Attached is the accountinfo.xml sample that makes
the magic work.

Thanks for your help and hope this works out for you,

Bernard.

>> Hi Bernard
>>
>> Response to Q1 is that unless you want the wizard to start over you need
>> to send the accountinfo.xml back to the client. the schemas involved here
>> are accountinfo.xdr and user.xdr. for example, see the attached file
>>
>> On Q2, I think it should work but it is possible there is a problem as
>> the tool is not the most perfect one. Attached is also sample locations
>> file.
>>
>>
>> Thanks,
>> -Pekka
>> -----Original Message-----
>> From: Bernard V. Mendis
>> Sent: Thursday, July 07, 2005 3:27 AM
>> To: Wireless Provisioning Services-Feedback
>> Subject: RE: WPS Authoring Tool Functionality and Questions
>>
>> Hi Pekka,
>>
>> Thanks for the quick response and feeedback. I hope you don't mind but I
>> have a few follow up questions.
>>
>> 1. I think you misunderstood the second question in my previous email -
>> during our testing, the WZC connects to our access point in Guest mode,
>> downloads the required XML files based on the master file URL sent as a
>> PEAP TLV attribute. The WZC starts the signup wizard and after the user
>> on the wireless client has entered in information and clicks on the Next
>> button in the Creating Account panel, our "provisioning server"
>> application is working to the point where it records the information the
>> client has submitted, creates the account in Active Directory and
>> attempts to return the wizard.xdr schema based XML file back to the
>> wireless client (with no error flags set). At this point the wizard
>> running on the wireless client eventually times out and we get an error.
>> My question was whether this is the correct XML file format to return
>> (ie. wizard.xdr schema).
>>
>> 2. When I try to validate the Locations sub file in the WPS Authoring
>> Tool, I get a bunch of errors that the tool could not find schema
>> information for each element in the schema. Is this a bug in the
>> Authoring tool?
>>
>> Thanks for your time.
>>
>> Regards,
>>
>> Bernard.
>>
>> -----Original Message-----
>> From: Wireless Provisioning Services-Feedback
>> Sent: Thursday, July 07, 2005 9:12 AM
>> To: Bernard V. Mendis
>> Subject: RE: WPS Authoring Tool Functionality and Questions
>>
>>
>> Hi
>>
>> Please se my responses mixed in below.
>>
>> Thanks,
>> -Pekka
>> -----Original Message-----
>> From: Bernard V. Mendis
>> Sent: Wednesday, July 06, 2005 10:07 AM
>> To: Wireless Provisioning Services-Feedback
>> Subject: WPS Authoring Tool Functionality and Questions
>> Importance: High
>>
>> Hello,
>>
>> We're testing limited deployment of WiFi in Micronesia and have a few
>> questions that we hope you will provide the answers to:
>>
>> 1. Is the WPS Authoring Tool - Preview Signup Wizard fully functional
>> in
>> that it posts the data entered to the Web Provisioning Server, gets the
>> response back and adds the Preferred Profile? Our Web Provisioning
>> server
>> logs show that the data is posted; the ASP script we have developed
>> enters
>> the client registration information into the SQL2K database, but we have
>> not
>> been successful beyond that, as we keep getting "There was an error
>> transmitting information to or from the Wireless Network" from the WPS
>> Authoring Tool Preview Signup Wizard. In testing, when we posted the
>> same
>> wizard schema XML data as the Preview Signup Wizard does from a web
>> browser,
>> we are able to see the returned wizard schema XML as we posted it. Do
>> we
>> need to set the ContentType in the response? Any suggestions would be
>> most
>> welcome.
>>
>> [Pekka] the tool only generates the files and then can simulate the
>> wizard
>> functionality/experience the signup.xml file would have in the wizard.
>> The
>> authoring tool does not interact with any backend services or servers.
>> You
>> will need fully functional backend setup & Windows XPSP2 clients in
>> order to
>> test end to end functionality.
>>
>> 2. Are we correct in assuming that a successful confirmation response
>> from
>> the Web Provisioning Server is the equivalent of sending back the same
>> XML
>> data it received in the POST? An error would be indicated by inserting
>> the
>> error attribute type in the corresponding incorrect field(s) with the
>> appropriate error condition text?
>>
>> [Pekka] Yes. After down loading the files the client will use the
>> destination specified in the XML files to post the user data back to the
>> server. On the web server, there needs to be "provisioning application"
>> that receives the data & processes it as needed (return back if errors,
>> validate credit card information, promo or prepaid codes, etc.)
>>
>> 3. Is there a beta newsgroup that we can obtain guest access to as we
>> are
>> aware that these questions have probably been answered a few times?
>>
>> Your best bet is this alias (wpsfb@microsoft.com). We currently do not
>> have
>> a newsgroup setup for WPS specific discussions.
>>
>> We would greatly appreciate any assistance and eagerly look forward to
>> your
>> response.
>>
>> Regards,
>>
>> Bernard


begin 666 accountinfo.xml
M/&%C8V]U;G1I;F9O('AM;&YS/2)H='1P.B\O=W=W+FUI8W)O<V]F="YC;VTO
M<')O=FES:6]N:6YG+U=I>F%R9"(^#0H)/'!A;F5L+69I;FES:#X-"@D)/'1I
M=&QE/D9I;FES:&EN9R!S:6=N+75P/"]T:71L93X-"@D)/&)O9'D^0V]N9W)A
M='5L871I;VYS(2 @66]U(&AA=F4@8W)E871E9"!A;B!A8V-O=6YT('=I=&@@
M3F5T>'!74%,N("!0;&5A<V4@<F5V:65W('1H92!I;F9O<FUA=&EO;B!B96QO
M=RX\+V)O9'D^#0H)"3QI;F9O/F%C8V]U;G0@:6YF;R!G;V5S(&AE<F4N#0H-
M"EEO=2!W:6QL(&=E="!G96YE<FEC(&EN9F]R;6%T:6]N('1H870@9V]E<RP@
M#0II9B!A( T*=7-E<FYA;64@#0IA;F0@#0IP87-S=V]R9"!A<F4@<F5Q=6ER
M960@=&\@;&]G;VXL('1H:7,@=V]U;&0@8F4@82!G;V]D('!L86-E('1O(&1I
M<W!L87D@=&AE;2X-"CPO:6YF;SX-"CPO<&%N96PM9FEN:7-H/@T*#0H\57-E
M<B!X;6QN<STB:'1T<#HO+W=W=RYM:6-R;W-O9G0N8V]M+W!R;W9I<VEO;FEN
M9R]%87!5<V5R4')O<&5R=&EE<U8Q(B -"@D@(" @("!X;6QN<SIX<VD](FAT
M=' Z+R]W=W<N=S,N;W)G+S(P,#$O6$U,4V-H96UA+6EN<W1A;F-E(B -"@D@
M(" @("!X;6QN<SIB87-E16%P/2)H='1P.B\O=W=W+FUI8W)O<V]F="YC;VTO
M<')O=FES:6]N:6YG+T)A<V5%87!5<V5R4')O<&5R=&EE<U8Q(B -"@D@(" @
M("!X;6QN<SI-<U!E87 ](FAT=' Z+R]W=W<N;6EC<F]S;V9T+F-O;2]P<F]V
M:7-I;VYI;F<O37-096%P57-E<E!R;W!E<G1I97-6,2(@#0H)(" @(" @>&UL
M;G,Z37-#:&%P5C(](FAT=' Z+R]W=W<N;6EC<F]S;V9T+F-O;2]P<F]V:7-I
M;VYI;F<O37-#:&%P5C)5<V5R4')O<&5R=&EE<U8Q(CX-"B @(" @(#QB87-E
M16%P.D5A<#X-"@D\8F%S945A<#I4>7!E/C(U/"]B87-E16%P.E1Y<&4^"0T*
M"3Q-<U!E87 Z16%P5'EP93X-"@D@/&)A<V5%87 Z16%P/@T*"2 @/&)A<V5%
M87 Z5'EP93XR-CPO8F%S945A<#I4>7!E/@T*"0D-"@D)/$US0VAA<%8R.D5A
M<%1Y<&4^#0H)"0D\37-#:&%P5C(Z57-E<FYA;64^3D546% \+TUS0VAA<%8R
M.E5S97)N86UE/@T*"0D)/$US0VAA<%8R.E!A<W-W;W)D/DUU<W1F,7@\+TUS
M0VAA<%8R.E!A<W-W;W)D/@T*"0D)/$US0VAA<%8R.DQO9V]N1&]M86EN/E=0
M4SPO37-#:&%P5C(Z3&]G;VY$;VUA:6X^#0H)"3PO37-#:&%P5C(Z16%P5'EP
M93X-"@D)#0H)/"]B87-E16%P.D5A<#X-"@D\+TUS4&5A<#I%87!4>7!E/@T*
I"3PO8F%S945A<#I%87 ^#0H)/"]5<V5R/@T*/"]A8V-O=6YT:6YF;SX`
`
end
Anonymous
a b F Wireless
July 10, 2005 10:31:29 PM

Archived from groups: microsoft.public.windows.networking.wireless (More info?)

Thanks for the information! I successfully used the accountinfo.xml
file to finish off the account creation process.
!