Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:49
Krishnatv3-Sep-07 3:49 
GeneralRe: Internationalization Pin
truestepper3-Sep-07 4:17
truestepper3-Sep-07 4:17 
AnswerRe: Internationalization Pin
jhwurmbach3-Sep-07 3:31
jhwurmbach3-Sep-07 3:31 
GeneralRe: Internationalization Pin
Krishnatv3-Sep-07 3:51
Krishnatv3-Sep-07 3:51 
AnswerRe: Internationalization Pin
Maximilien3-Sep-07 3:35
Maximilien3-Sep-07 3:35 
AnswerRe: Internationalization Pin
Hamid_RT3-Sep-07 4:48
Hamid_RT3-Sep-07 4:48 
Questionlanguage specific characters dialog Pin
truestepper3-Sep-07 2:43
truestepper3-Sep-07 2:43 
QuestionPass XML to an HTTP address in Visual C Pin
mariokempes3-Sep-07 2:33
mariokempes3-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
Member 43990943-Sep-07 2:28 
AnswerRe: about Thread Creation Pin
chandu0043-Sep-07 2:32
chandu0043-Sep-07 2:32 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 2:41
Member 43990943-Sep-07 2:41 
GeneralRe: about Thread Creation Pin
chandu0043-Sep-07 2:47
chandu0043-Sep-07 2:47 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 3:00
Member 43990943-Sep-07 3:00 
AnswerRe: about Thread Creation Pin
Mark Salsbery3-Sep-07 8:57
Mark Salsbery3-Sep-07 8:57 
GeneralRe: about Thread Creation Pin
Member 43990943-Sep-07 21:53
Member 43990943-Sep-07 21:53 
GeneralRe: about Thread Creation Pin
Mark Salsbery4-Sep-07 5:14
Mark Salsbery4-Sep-07 5:14 
QuestionMSWord com add-in problem Pin
Tarek Jabri3-Sep-07 2:05
Tarek Jabri3-Sep-07 2:05 
AnswerRe: MSWord com add-in problem Pin
chandu0043-Sep-07 2:28
chandu0043-Sep-07 2:28 
Questionabout task manager Pin
Member 43990943-Sep-07 1:59
Member 43990943-Sep-07 1:59 
AnswerRe: about task manager Pin
chandu0043-Sep-07 2:25
chandu0043-Sep-07 2:25 
GeneralRe: about task manager Pin
Jerry Hammond4-Sep-07 20:24
Jerry Hammond4-Sep-07 20:24 
AnswerRe: about task manager Pin
Russell'3-Sep-07 3:13
Russell'3-Sep-07 3:13 
QuestionHow to get last window's hwnd Pin
josip cagalj3-Sep-07 1:45
josip cagalj3-Sep-07 1:45 
AnswerRe: How to get last window's hwnd Pin
Nishad S3-Sep-07 2:46
Nishad S3-Sep-07 2:46 
GeneralRe: How to get last window's hwnd [modified] Pin
josip cagalj3-Sep-07 21:52
josip 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.