- PR -

SubmitRequestとVerifyRequest

1
投稿者投稿内容
exec
会議室デビュー日: 2005/08/25
投稿数: 4
投稿日時: 2005-08-25 19:47
海外のECサイトを運営しているのですが
急なシステム変更で個人情報がXMLで提供されるようになってしまいました。
しかしながら、XMLを扱うのがはじめてなので(勉強中ですが)
さらに提供されるには下記のXMLテストをパスしなければならないのですが
実際どのようなことをすれば良いのかわかりません。
とても基本的なことだとは思いますが教えていただけるとありがたいです。
よろしくお願いします。
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
4: XML Test
Successful completion of the XML Test is required before access to the active XML Tools is granted. The test is used to validate the skills of the integrator. The test consists of two parts: TestSubmit and TestVerify.

Your script should begin by sending the TestSubmitRequest, then receive and parse the TestSubmitReply. Based on the TestSubmitReply, your script should then build and send the TestVerifyRequest and receive the TestVerifyReply. The TestVerifyRequest must be sent within 1 minute of the TestSubmitRequest for the test to be completed successfully. If successful, you will receive your active XML Key in the TestVerifyReply, and you may immediately begin using the active XML Tools. The active Key is also available upon successful completion of the test at Company/XML Tools in the Order Management System.

Authentication of the TestSubmitRequest and TestVerifyRequest is via any User Name and Password valid for the Order Management System with an Access Level of Administrator or Editor. Additionally, the TestVerifyRequest must include the “test” XML Key provided by the TestSubmitReply (randomly generated and separate from the active XML Key provided by the TestVerifyReply) as either an attribute or node as specified in the TestSubmitReply.

TestSubmitRequest URL: https://www.xxxxxxxxxx.com/shared/xml/testsubmit.asp
TestVerifyRequest URL: https://www.xxxxxxxxxx.com/shared/xml/testverify.asp
uk
ぬし
会議室デビュー日: 2003/05/20
投稿数: 1155
お住まい・勤務地: 東京都
投稿日時: 2005-08-26 12:52
情報はこれだけですか? TestSubmitRequestとTestVerifyRequestのURL以外のインタフェース
情報は公開されていないんですか? それから、変更される以前はどのように情報を受け取って
いたのですか?
exec
会議室デビュー日: 2005/08/25
投稿数: 4
投稿日時: 2005-08-30 10:58
引用:

ukさんの書き込み (2005-08-26 12:52) より:
情報はこれだけですか? TestSubmitRequestとTestVerifyRequestのURL以外のインタフェース
情報は公開されていないんですか? それから、変更される以前はどのように情報を受け取って
いたのですか?



すみません。
情報不足でした。
TestSubmitRequest Schema
TestSubmitReply Schema
TestVerifyRequest Schema
TestVerifyReply Schema



TestSubmitRequest Example

<?xml version="1.0" encoding="UTF-8" ?>
<TestSubmitRequest>
<Credentials>
<AccountName>fairway</AccountName>
<UserName>Demo</UserName>
<Password>Dem0U$er</Password>
</Credentials>
</TestSubmitRequest>

TestSubmitReply Example

<?xml version="1.0" encoding="UTF-8" ?>
<TestSubmitReply Type="Attribute">
<TestKey>?!J{*1iQKx/,FK=pW#rl</TestKey>
</TestSubmitReply>

TestVerifyRequest Example

<?xml version="1.0" encoding="UTF-8" ?>
<TestVerifyRequest>
<Credentials Key="?!J{*1iQKx/,FK=pW#rl">
<AccountName>fairway</AccountName>
<UserName>Demo</UserName>
<Password>Dem0U$er</Password>
</Credentials>
</TestVerifyRequest>

TestVerifyReply Example

<?xml version="1.0" encoding="UTF-8" ?>
<TestVerifyReply>
<ActiveKey>Lmbr0h5p|MkWh7_v=XtL</ActiveKey>
</TestVerifyReply>

が公開されています。

以前はサイトからCSVをダウンロードしていました。

uk
ぬし
会議室デビュー日: 2003/05/20
投稿数: 1155
お住まい・勤務地: 東京都
投稿日時: 2005-09-09 11:39
要するに、HTTPで指定されたリクエストを送り、レスポンスを解釈するプログラムを作る
必要があるのですが、execさんはどのようなプログラムであれば作成できるのでしょうか。
言語はなんでもよいのですが、HTTPによる通信とXMLのエンコード/デコードは必須です。
exec
会議室デビュー日: 2005/08/25
投稿数: 4
投稿日時: 2005-09-09 11:49


引用:

ukさんの書き込み (2005-09-09 11:39) より:
要するに、HTTPで指定されたリクエストを送り、レスポンスを解釈するプログラムを作る
必要があるのですが、execさんはどのようなプログラムであれば作成できるのでしょうか。
言語はなんでもよいのですが、HTTPによる通信とXMLのエンコード/デコードは必須です。




書き込みの後、いろいろ調べ、なんとかできました。
回答ありがとうございました。
exec
会議室デビュー日: 2005/08/25
投稿数: 4
投稿日時: 2005-09-09 11:50


引用:

ukさんの書き込み (2005-09-09 11:39) より:
要するに、HTTPで指定されたリクエストを送り、レスポンスを解釈するプログラムを作る
必要があるのですが、execさんはどのようなプログラムであれば作成できるのでしょうか。
言語はなんでもよいのですが、HTTPによる通信とXMLのエンコード/デコードは必須です。




書き込みの後、いろいろ調べ、なんとかできました。
返信ありがとうございました。
1

スキルアップ/キャリアアップ(JOB@IT)