[WebDNA] Anyone submitted SoAP info in TCPSEND?

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113625
interpreted = N
texte = 1220 --Apple-Mail=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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[unurl]%0D%0A[/UnURL] HIDDEN FOR EXAMPLE HIDDEN FOR EXAMPLE [/text] [text]lengthvar=3D[countchars][content][/CountChars][/text]
[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=94All I get back is:HTTP/1.1 400 Bad RequestContent-Type: text/html; charset=3Dus-asciiServer: Microsoft-HTTPAPI/2.0Date: Wed, 21 Jun 2017 19:20:40 GMTConnection: closeContent-Length: 334Strict-Transport-Security: max-age=3D15552000; includeSubDomainsBad Request - Invalid HostnameHTTP Error 400. The request hostname is invalid.But the domain is correct. Their tech support can get this working via =PHP/ASP etc.=20Anyone have an ideas as I have tried just about every variation I can =think of.ThxAlex---------------------------------------------------------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=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AFContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=utf-8I=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 RequestContent-Type: text/html; charset=3Dus-asciiServer: Microsoft-HTTPAPI/2.0Date: Wed, 21 Jun 2017 19:20:40 GMTConnection: closeContent-Length: 334Strict-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

= --Apple-Mail=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AF-- . 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)
1220 --Apple-Mail=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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[unurl]%0D%0A[/UnURL] HIDDEN FOR EXAMPLE HIDDEN FOR EXAMPLE [/text] [text]lengthvar=3D[countchars][content][/CountChars][/text]
[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=94All I get back is:HTTP/1.1 400 Bad RequestContent-Type: text/html; charset=3Dus-asciiServer: Microsoft-HTTPAPI/2.0Date: Wed, 21 Jun 2017 19:20:40 GMTConnection: closeContent-Length: 334Strict-Transport-Security: max-age=3D15552000; includeSubDomainsBad Request - Invalid HostnameHTTP Error 400. The request hostname is invalid.But the domain is correct. Their tech support can get this working via =PHP/ASP etc.=20Anyone have an ideas as I have tried just about every variation I can =think of.ThxAlex---------------------------------------------------------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=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AFContent-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=utf-8I=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 RequestContent-Type: text/html; charset=3Dus-asciiServer: Microsoft-HTTPAPI/2.0Date: Wed, 21 Jun 2017 19:20:40 GMTConnection: closeContent-Length: 334Strict-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

= --Apple-Mail=_DDA738DF-A010-4A61-8501-8CFEB3EFA5AF-- . 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:

Pithy questions on webcommerce & siteedit (1997) beta 2 Plugin (2000) state? (2004) Help name our technology! I found it (1997) Major Security Hole IIS NT (1998) Shopping Cart Problem (1998) [SHOWIF] (1997) ANother SHOWIF problem (1997) all records returned. (1997) Is there a way to just get to the last record in the database? (1997) Automated email (2000) WebCat 4.5 Email Problems? (2003) Search design (1997) Various Problems (1997) Requiring that certain fields be completed (1997) ShipCosts database (1997) Request: Stop any looping context ... (2002) creator code (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCat2 - [include] tags (1997)