Re: [WebDNA] Anyone submitted SoAP info in TCPSEND?

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113627
interpreted = N
texte = 1222 --Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Interesting question. I added a header for that and got a different = response.. HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: application/soap+xml; charset=3Dutf-8 Server:=20 X-AspNet-Version:=20 Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE Access-Control-Allow-Headers: Access-Control-Allow-Headers Date: Wed, 21 Jun 2017 19:44:59 GMT Content-Length: 1267 Strict-Transport-Security: max-age=3D15552000; includeSubDomains = http://schemas.xmlsoap.org/ws/2004/08/addressing/faulturn:uuid:39e57ac3-5c= b6-4ce7-889e-322afc9943f8http://schemas.xmlsoap.org/ws/2004/08/addressing/= role/anonymous2017-06-21T19:44:59Z2017-06-21T19:49:59Zsoap:SenderWSE012: = The input was not a valid SOAP message because the following information = is missing: action. At least I am getting =E2=80=9Csomething=E2=80=9D finally. This has been = frustrating beyond belief.=20 Now to figure out the action header. Thanks! Alex > On Jun 21, 2017, at 3:35 PM, Donovan Brooke wrote: >=20 > Is a host header is required by the API? You don=E2=80=99t have a = host header in your [tcpsend] context. >=20 > Donovan >=20 >=20 > On Jun 21, 2017, at 2:27 PM, Alex McCombie wrote: >=20 >> I=E2=80=99m being forced to try and submit SOAP data to a clients = mail system. For the life of me I can=E2=80=99t seem to get past the = format error. >>=20 >> Any ideas? >>=20 >> Here is the code: >>=20 >>=20 >> [text]content=3D[unurl]%0D%0A[/UnURL] >> >> >> >> >> HIDDEN FOR EXAMPLE >> HIDDEN FOR EXAMPLE >> >> >> >> [/text] >>=20 >> [text]lengthvar=3D[countchars][content][/CountChars][/text] >>=20 >>
>> [tcpconnect host=3Dapi.campaigner.com&port=3D443&SSL=3DT][!]>> [/!][tcpsend]POST /2013/01/listmanagement.asmx =HTTP/1.1[unurl]%0D%0A[/UnURL][!]>> [/!]Content-Length: [lengthvar][unurl]%0D%0A[/UnURL][!]>> [/!]Content-Type: application/soap+xml; =charset=3Dutf-8[unurl]%0D%0A[/UnURL][!]>> [/!][unurl]%0D%0A[/UnURL][!]>> [/!][content][unurl]%0D%0A[/UnURL][!]>> [/!][unurl]%0D%0A[/UnURL][!]>> [/!][/TCPSend][/tcpconnect]>>=20>>=20>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94>>=20>> All I get back is:>> HTTP/1.1 400 Bad Request>> Content-Type: text/html; charset=3Dus-ascii>> Server: Microsoft-HTTPAPI/2.0>> Date: Wed, 21 Jun 2017 19:20:40 GMT>> Connection: close>> Content-Length: 334>> Strict-Transport-Security: max-age=3D15552000; includeSubDomains>>=20>>=20>> Bad Request - Invalid Hostname>>=20>> HTTP Error 400. The request hostname is invalid.>>=20>>=20>>=20>>=20>> But the domain is correct. Their tech support can get this working =via PHP/ASP etc.=20>>=20>> Anyone have an ideas as I have tried just about every variation I can =think of.>>=20>> Thx>> Alex>>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7AContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=utf-8Interesting question. I added a header for that and got a =different response..
HTTP/1.1 500 Internal Server =ErrorCache-Control: privateContent-Type: application/soap+xml; charset=3Dutf-8Server:=20X-AspNet-Version:=20Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETEAccess-Control-Allow-Headers: Access-Control-Allow-HeadersDate: Wed, 21 Jun 2017 19:44:59 GMTContent-Length: 1267Strict-Transport-Security: max-age=3D15552000; includeSubDomainshttp://schemas.xmlsoap.org/ws/2004/08/addressing/faulturn:uuid:39e57ac3-5cb6-4ce7-889e-322afc9943f8http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous=2017-06-21T19:44:59Z2017-06-21T19:49:59Zsoap:SenderWSE012: The input was =not a valid SOAP message because the following information is missing: =action.=


At least I am getting =E2=80=9Csomething=E2=80=9D finally. = This has been frustrating beyond = belief. 
Now to figure out the action = header.

Thanks!

Alex


On Jun 21, 2017, at 3:35 PM, Donovan Brooke = <dbrooke@euca.us> = wrote:

Is a host header is required by the API?  You don=E2=80=99= t have a host header in your  [tcpsend] context.

Donovan


On Jun = 21, 2017, at 2:27 PM, Alex McCombie <alex@mccombie.com> = wrote:

I=E2=80=99m being forced to try and submit SOAP data to a = clients mail system. For the life of me I can=E2=80=99t seem to get past = the format error.

Any ideas?

Here is the code:


[text]content=3D<?xml version=3D"1.0" = encoding=3D"utf-8"?>[unurl]%0D%0A[/UnURL]
<soap:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:soap=3D"http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
=    <ListContactGroups xmlns=3D"https://ws.campaigner.com/2013/01">
=      <authentication>
=        <Username>HIDDEN FOR = EXAMPLE</Username>
=        <Password>HIDDEN FOR = EXAMPLE</Password>
=      </authentication>
=    </ListContactGroups>
=  </soap:Body>
</soap:Envelope>[/text]

[text]lengthvar=3D[countchars][content][/CountChars][/text]

<pre>
[tcpconnect host=3Dapi.campaigner.com&port=3D443&SSL=3DT][!]
[/!][tcpsend]POST /2013/01/listmanagement.asmx = HTTP/1.1[unurl]%0D%0A[/UnURL][!]
[/!]Content-Length: = [lengthvar][unurl]%0D%0A[/UnURL][!]
[/!]Content-Type: = application/soap+xml; charset=3Dutf-8[unurl]%0D%0A[/UnURL][!]
[/!][unurl]%0D%0A[/UnURL][!]
[/!][content][unurl]%0D%0A[/UnURL][!]
[/!][unurl]%0D%0A[/UnURL][!]
[/!][/TCPSend][/tcpconnect]


=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

All I get back is:
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=3Dus-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 21 Jun = 2017 19:20:40 GMT
Connection: close
Content-Length: 334
Strict-Transport-Security: = max-age=3D15552000; includeSubDomains


Bad Request - Invalid Hostname

HTTP Error 400. The request hostname is invalid.




But= the domain is correct. Their tech support can get this working via = PHP/ASP etc.

Anyone have an ideas as I = have tried just about every variation I can think of.

Thx
Alex


---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: = talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug= Reporting: support@webdna.us

= --Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7A-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Anyone submitted SoAP info in TCPSEND? (Alex McCombie 2017)
  2. Re: [WebDNA] Anyone submitted SoAP info in TCPSEND? (Donovan Brooke 2017)
  3. [WebDNA] Anyone submitted SoAP info in TCPSEND? (Alex McCombie 2017)
1222 --Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Interesting question. I added a header for that and got a different = response.. HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Type: application/soap+xml; charset=3Dutf-8 Server:=20 X-AspNet-Version:=20 Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE Access-Control-Allow-Headers: Access-Control-Allow-Headers Date: Wed, 21 Jun 2017 19:44:59 GMT Content-Length: 1267 Strict-Transport-Security: max-age=3D15552000; includeSubDomains = http://schemas.xmlsoap.org/ws/2004/08/addressing/faulturn:uuid:39e57ac3-5c= b6-4ce7-889e-322afc9943f8http://schemas.xmlsoap.org/ws/2004/08/addressing/= role/anonymous2017-06-21T19:44:59Z2017-06-21T19:49:59Zsoap:SenderWSE012: = The input was not a valid SOAP message because the following information = is missing: action. At least I am getting =E2=80=9Csomething=E2=80=9D finally. This has been = frustrating beyond belief.=20 Now to figure out the action header. Thanks! Alex > On Jun 21, 2017, at 3:35 PM, Donovan Brooke wrote: >=20 > Is a host header is required by the API? You don=E2=80=99t have a = host header in your [tcpsend] context. >=20 > Donovan >=20 >=20 > On Jun 21, 2017, at 2:27 PM, Alex McCombie wrote: >=20 >> I=E2=80=99m being forced to try and submit SOAP data to a clients = mail system. For the life of me I can=E2=80=99t seem to get past the = format error. >>=20 >> Any ideas? >>=20 >> Here is the code: >>=20 >>=20 >> [text]content=3D[unurl]%0D%0A[/UnURL] >> >> >> >> >> HIDDEN FOR EXAMPLE >> HIDDEN FOR EXAMPLE >> >> >> >> [/text] >>=20 >> [text]lengthvar=3D[countchars][content][/CountChars][/text] >>=20 >>
>> [tcpconnect host=3Dapi.campaigner.com&port=3D443&SSL=3DT][!]>> [/!][tcpsend]POST /2013/01/listmanagement.asmx =HTTP/1.1[unurl]%0D%0A[/UnURL][!]>> [/!]Content-Length: [lengthvar][unurl]%0D%0A[/UnURL][!]>> [/!]Content-Type: application/soap+xml; =charset=3Dutf-8[unurl]%0D%0A[/UnURL][!]>> [/!][unurl]%0D%0A[/UnURL][!]>> [/!][content][unurl]%0D%0A[/UnURL][!]>> [/!][unurl]%0D%0A[/UnURL][!]>> [/!][/TCPSend][/tcpconnect]>>=20>>=20>> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94==E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94>>=20>> All I get back is:>> HTTP/1.1 400 Bad Request>> Content-Type: text/html; charset=3Dus-ascii>> Server: Microsoft-HTTPAPI/2.0>> Date: Wed, 21 Jun 2017 19:20:40 GMT>> Connection: close>> Content-Length: 334>> Strict-Transport-Security: max-age=3D15552000; includeSubDomains>>=20>>=20>> Bad Request - Invalid Hostname>>=20>> HTTP Error 400. The request hostname is invalid.>>=20>>=20>>=20>>=20>> But the domain is correct. Their tech support can get this working =via PHP/ASP etc.=20>>=20>> Anyone have an ideas as I have tried just about every variation I can =think of.>>=20>> Thx>> Alex>>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list talk@webdna.us> To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7AContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=utf-8Interesting question. I added a header for that and got a =different response..
HTTP/1.1 500 Internal Server =ErrorCache-Control: privateContent-Type: application/soap+xml; charset=3Dutf-8Server:=20X-AspNet-Version:=20Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETEAccess-Control-Allow-Headers: Access-Control-Allow-HeadersDate: Wed, 21 Jun 2017 19:44:59 GMTContent-Length: 1267Strict-Transport-Security: max-age=3D15552000; includeSubDomainshttp://schemas.xmlsoap.org/ws/2004/08/addressing/faulturn:uuid:39e57ac3-5cb6-4ce7-889e-322afc9943f8http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous=2017-06-21T19:44:59Z2017-06-21T19:49:59Zsoap:SenderWSE012: The input was =not a valid SOAP message because the following information is missing: =action.=


At least I am getting =E2=80=9Csomething=E2=80=9D finally. = This has been frustrating beyond = belief. 
Now to figure out the action = header.

Thanks!

Alex


On Jun 21, 2017, at 3:35 PM, Donovan Brooke = <dbrooke@euca.us> = wrote:

Is a host header is required by the API?  You don=E2=80=99= t have a host header in your  [tcpsend] context.

Donovan


On Jun = 21, 2017, at 2:27 PM, Alex McCombie <alex@mccombie.com> = wrote:

I=E2=80=99m being forced to try and submit SOAP data to a = clients mail system. For the life of me I can=E2=80=99t seem to get past = the format error.

Any ideas?

Here is the code:


[text]content=3D<?xml version=3D"1.0" = encoding=3D"utf-8"?>[unurl]%0D%0A[/UnURL]
<soap:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:soap=3D"http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
=    <ListContactGroups xmlns=3D"https://ws.campaigner.com/2013/01">
=      <authentication>
=        <Username>HIDDEN FOR = EXAMPLE</Username>
=        <Password>HIDDEN FOR = EXAMPLE</Password>
=      </authentication>
=    </ListContactGroups>
=  </soap:Body>
</soap:Envelope>[/text]

[text]lengthvar=3D[countchars][content][/CountChars][/text]

<pre>
[tcpconnect host=3Dapi.campaigner.com&port=3D443&SSL=3DT][!]
[/!][tcpsend]POST /2013/01/listmanagement.asmx = HTTP/1.1[unurl]%0D%0A[/UnURL][!]
[/!]Content-Length: = [lengthvar][unurl]%0D%0A[/UnURL][!]
[/!]Content-Type: = application/soap+xml; charset=3Dutf-8[unurl]%0D%0A[/UnURL][!]
[/!][unurl]%0D%0A[/UnURL][!]
[/!][content][unurl]%0D%0A[/UnURL][!]
[/!][unurl]%0D%0A[/UnURL][!]
[/!][/TCPSend][/tcpconnect]


=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94

All I get back is:
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=3Dus-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 21 Jun = 2017 19:20:40 GMT
Connection: close
Content-Length: 334
Strict-Transport-Security: = max-age=3D15552000; includeSubDomains


Bad Request - Invalid Hostname

HTTP Error 400. The request hostname is invalid.




But= the domain is correct. Their tech support can get this working via = PHP/ASP etc.

Anyone have an ideas as I = have tried just about every variation I can think of.

Thx
Alex


---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: = talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug= Reporting: support@webdna.us

= --Apple-Mail=_7B023021-9475-4979-A6F1-9519C90BDA7A-- . Alex McCombie

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help name our technology! (1997) Need correct syntax for writing to header2 (1999) [WebDNA] WebDNA vs. php war ;-) (2010) ShowNext (1997) Help! WebCat2 bug (1997) showif... (2000) Authentication issue (2006) [WebDNA] favorite db server with webDNA (2011) wild question (1998) Help name our technology! I found it (1997) Thanks Grant (1997) Browser Reloads and AddlineItem (1997) View order not right (1997) Busy WebCatalog (2000) Error Lob.db records error message not name (1997) ShowNext Page Style (2003) shared_POP and archiving your own mailing list (2003) Emailer question (1998) Redirect (2003) NT - Thanks and Taxes (1997)