Click here to Skip to main content
14,668,270 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:49
MemberKrishnatv3-Sep-07 3:49 
GeneralRe: Internationalization Pin
truestepper3-Sep-07 4:17
Membertruestepper3-Sep-07 4:17 
AnswerRe: Internationalization Pin
jhwurmbach3-Sep-07 3:31
Memberjhwurmbach3-Sep-07 3:31 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:51
MemberKrishnatv3-Sep-07 3:51 
AnswerRe: Internationalization Pin
Maximilien3-Sep-07 3:35
MemberMaximilien3-Sep-07 3:35 
AnswerRe: Internationalization Pin
Hamid_RT3-Sep-07 4:48
MemberHamid_RT3-Sep-07 4:48 
Questionlanguage specific characters dialog Pin
truestepper3-Sep-07 2:43
Membertruestepper3-Sep-07 2:43 
QuestionPass XML to an HTTP address in Visual C Pin
mariokempes3-Sep-07 2:33
Membermariokempes3-Sep-07 2:33 
I have been given the following example code but I have no idea how to call from Visual C.

NB I am the Scotweave end of the process.

Essentially I need to know how to post the HTTP request ?

Many thanks for any help.

dave

-------------
Example (ASP)

Example (ASP)
<%@language=Jscript%>
<%
var objSrvHTTP;
var objXMLSend;
objSrvHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP");
objXMLSend = Server.CreateObject("Msxml2.DOMDocument.3.0");
objXMLSend.async = false;
objXMLSend.loadXML ("<request>" +
"<xbnr>001" +
"<xplt>01" +
"<name>StockItem" +
"<type>getStockItemList" +
"StockItem
" +
"<stockitem>" +
" <list>XANR" +
" <list>XARTBZ" +
"" +
"");
objSrvHTTP.open ("POST","http://{IP}/{APP}/jsiapi.jsp",false);
objSrvHTTP.send (objXMLSend);
Response.ContentType = "text/xml";
Response.Write (objSrvHTTP.responseText);
%>


The above example will call an existing Jomar process (StockItem.getStockItemList) passing a request XML (blow left). The JSIAPI interface will return a response XML (below right).
<request>
<xbnr>001
<xplt>01
<name>StockItem
<type>getStockItemList
StockItem

<stockitem>
<list>XANR
<list>XARTBZ


<response>
<stockitem>
<row>
<xanr>AGK1
<xartbz>Cashmere Scarf

<row>
<xanr>AGK2
<xartbz>Cashmere Scarf

<row>
<xanr>AGK3
<xartbz>Cashmere Scarf


<xbnr>001
<xplt>01

Questionabout Thread Creation Pin
Member 43990943-Sep-07 2:28
MemberMember 43990943-Sep-07 2:28 
AnswerRe: about Thread Creation Pin
chandu0043-Sep-07 2:32
Memberchandu0043-Sep-07 2:32 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 2:41
MemberMember 43990943-Sep-07 2:41 
GeneralRe: about Thread Creation Pin
chandu0043-Sep-07 2:47
Memberchandu0043-Sep-07 2:47 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 3:00
MemberMember 43990943-Sep-07 3:00 
AnswerRe: about Thread Creation Pin
Mark Salsbery3-Sep-07 8:57
MemberMark Salsbery3-Sep-07 8:57 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 21:53
MemberMember 43990943-Sep-07 21:53 
GeneralRe: about Thread Creation Pin
Mark Salsbery4-Sep-07 5:14
MemberMark Salsbery4-Sep-07 5:14 
QuestionMSWord com add-in problem Pin
Tarek Jabri3-Sep-07 2:05
MemberTarek Jabri3-Sep-07 2:05 
AnswerRe: MSWord com add-in problem Pin
chandu0043-Sep-07 2:28
Memberchandu0043-Sep-07 2:28 
Questionabout task manager Pin
Member 43990943-Sep-07 1:59
MemberMember 43990943-Sep-07 1:59 
AnswerRe: about task manager Pin
chandu0043-Sep-07 2:25
Memberchandu0043-Sep-07 2:25 
GeneralRe: about task manager Pin
Jerry Hammond4-Sep-07 20:24
MemberJerry Hammond4-Sep-07 20:24 
AnswerRe: about task manager Pin
Russell'3-Sep-07 3:13
MemberRussell'3-Sep-07 3:13 
QuestionHow to get last window's hwnd Pin
josip cagalj3-Sep-07 1:45
Memberjosip cagalj3-Sep-07 1:45 
AnswerRe: How to get last window's hwnd Pin
Nishad S3-Sep-07 2:46
MemberNishad S3-Sep-07 2:46 
GeneralRe: How to get last window's hwnd [modified] Pin
josip cagalj3-Sep-07 21:52
Memberjosip cagalj3-Sep-07 21:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.