EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Which product is right for me ?

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#16176
Posted: 04/04/2011 14:04:42
by Vsevolod Ievgiienko (EldoS Corp.)

No it sends data "as is". Could you describe any detailes about the protocol and authentication you try to implement. Without the details we can only guess what is the reason of error messages.
#16182
Posted: 04/05/2011 07:22:06
by Thomas Reppel (Standard support level)
Joined: 03/28/2011
Posts: 7

... If I would know this exactly... :-)

I have to send a xml file (see below) to a specific https://... adress. That's all.

This is an example for my xml file.

Code
<?xml version='1.0' encoding='UTF-8'?>
<WIRECARD_BXML xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xsi:noNamespaceSchemaLocation="wirecard.xsd">
    <W_REQUEST>
        <W_JOB>
            <JobID>job 2</JobID>
            <BusinessCaseSignature>56501</BusinessCaseSignature>
            <FNC_CC_TRANSACTION>
                <FunctionID>WireCard Test</FunctionID>
                    <CC_TRANSACTION>
                        <TransactionID>2</TransactionID>
                        <Amount>100</Amount>
                        <Currency>EUR</Currency>
                        <CountryCode>DE</CountryCode>
                        <RECURRING_TRANSACTION>
                            <Type>Single</Type>
                        </RECURRING_TRANSACTION>
                        <CREDIT_CARD_DATA>
                            <CreditCardNumber>4200000000000000</CreditCardNumber>
                            <CVC2>000</CVC2>
                            <ExpirationYear>2014</ExpirationYear>
                            <ExpirationMonth>01</ExpirationMonth>
                            <CardHolderName>Wirecard Test</CardHolderName>
                        </CREDIT_CARD_DATA>
                        <CONTACT_DATA>
                            <IPAddress>127.0.0.1</IPAddress>
                        </CONTACT_DATA>
                        <CORPTRUSTCENTER_DATA>
                        <ADDRESS>
                            <Address1></Address1>
                            <City></City>
                            <ZipCode></ZipCode>
                            <State></State>
                            <Country></Country>
                            <Phone></Phone>
                            <Email>support@wirecard.com</Email>
                        </ADDRESS>
                    </CORPTRUSTCENTER_DATA>
                </CC_TRANSACTION>
            </FNC_CC_TRANSACTION>
         </W_JOB>
    </W_REQUEST>
</WIRECARD_BXML>


I logon to the server address with my login credentials and post the file with your "upload file demo". So I think, using your demo program I cannot have forgotten anything, because this comes from the experts.

But on the server side, the support tells me that the xml file is invalid. (This file comes from the support itself.)
But they cannot say WHAT is wrong... :-(

Is there a method to send a string instead of a file ? Maybe I could test this...

Thanks for your help

Thomas
#16183
Posted: 04/05/2011 07:33:34
by Eugene Mayevski (EldoS Corp.)

Well, sometimes looking into the source code and readme of the sample projects does help. The sample requires that you have a script on the server, and the sample demonstrates posting a form (with attached file), not a file.

Now if you care to open the documentation, you will find that Post method has plenty of overloads for different needs and scenarios, including the one you need.


Sincerely yours
Eugene Mayevski
#16184
Posted: 04/05/2011 07:35:31
by Vsevolod Ievgiienko (EldoS Corp.)

Our "upload file demo" is written to work with simple_upload.php script from PHP directory. You should modify it first.
Quote
Is there a method to send a string instead of a file ? Maybe I could test this...

Yes the component has an overload Post(const URL: string; const Content: string).
#16186
Posted: 04/05/2011 15:15:32
by Thomas Reppel (Standard support level)
Joined: 03/28/2011
Posts: 7

SORRY

for being a pain in the neck...
As I said I have almost no experience in these subjects.

I am very happy to tell you, that I could finally send a valid XML string
to that server. (Must sound like a "hello World" program in your ears)

I will get my confirmation tomorrow from the support team that this is a valid transaction and then you will no longer find me on the support pages but on the order page of your website. :-)

Thank you very much for your excellent help !

Thomas
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 3442 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!