XI Soap Adapter: problems in parsing XML
Hallo,
I call a Web Service using XMLSpy and this is the response (note tag <File>):
<SOAPSDK4:ExpBaselineResponse xmlns:SOAPSDK4="http://tempuri.org/PRWBS_PRIMAVERA/message/">
<RESULT>OK</RESULT>
<File><?xml version='1.0' encoding='UTF-8'?>
<Dati:Parametri xmlns:Dati="Schema">
<ELSAG xmlns="Schema">
<proj_id>4623</proj_id>
<BS_short_name>FS0084AAAA01 - B1</BS_short_name>
<BS_proj_id>1302</BS_proj_id>
<TARGET_START>2004-04-01</TARGET_START>
....etc...
If I call the same Web Service from XI, this is the response:
<SOAPSDK4:ExpBaselineResponse xmlns:SOAPSDK4="http://tempuri.org/PRWBS_PRIMAVERA/message/" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema">
<RESULT>OK</RESULT>
<File><?xml version="1.0" standalone="yes"?>
<Dati:Parametri xmlns:Dati="Schema">
<ELSAG xmlns="Schema">
<proj_id>4623</proj_id>
<BS_short_name>FS0084AAAA01 - B1</BS_short_name>
<BS_proj_id>1302</BS_proj_id>
<TARGET_START>2004-04-01</TARGET_START>
....etc....
In my flow, I use a java mapping to parse the content of tag <File> into a message.
My mapping works correctly only with the first option.
Is it possible to change XI Soap Adapter encoding for HTML?
My java mapping uses this parser:
public void execute(InputStream MyInputStream, OutputStream MyOutputStream)
throws StreamTransformationException {
SAXReader reader = new SAXReader();
Document document;
try {
document = reader.read(MyInputStream);
this instruction generates an Exception only with XI message.
Can anybody help me??
Thanks;-)
Hi,
I would suggest you go through this Pdf for the SOAP Adapter configuration:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
And also have a glance on the info for webservices given below,
Just go through these links and they will surely help you learn more about Webservices:
<a href="/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi Webservices using SAPXI</a>
<a href="/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies between SAP System & Webservice Using Proxies</a>
You can Go through these links to get some info about accessing Webservices:
http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/content.htm
Go through these links which will surely help you find an answer to your problem.....
Regards,
Abhy
Similar Messages
-
Receiver SOAP Adapter Problem-soap fault: Server did not recognize the valu
I have a scenario for service orders using async call : IDOC-XI-SOAP.
I used the XML Spy tool to test the Service order's web services and it works fine. I imported the same WSDL file in XI. When I send a SOAP message from XI, I get a following error in the adapter engine.
<i>MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server did not recognize the value of HTTP Header SOAPAction: AddUpdateCostObjectLevel1.</i>
Can someone please help me...
Thanks in advance!
MrudulaThis problem is resolved by me by passing the "http://company's URL/AddUpdateCostObjectLevel1" in the SOAP action.
Thanks to all for your input.
Mrudula -
Hi,
After reading through the forums I understood that SOAP adapter turns green only with the first message.
I have set everything up and sending a test message with XML Spy:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:SIMPLE_OUT_MI xmlns:m="http://test.com/soapTest">
<TEXT>TEST</TEXT>
</m:SIMPLE_OUT_MI>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XMLSpy returns me an empty message back:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header/>
<SOAP:Body/>
</SOAP:Envelope>
I can not see the message in SXMB_MONI and the adapter stays gray.
Where do I look for the problem ?Hi Vick,
Try like this......in ID from your sender agreement in which you have your sender SOAP comm channel, from menu select Display WSDL and then copy the WSDL URL and give it to source applications to use it.............create a service user for them to access PI 7.1 server while sending the SOAP req msg.............
your source applications may have to generate proxy from this WSDL URL in their application and then they can send a SOAP req msg to your PI 7.1 server............
Regards,
Rajeev Gupta -
Hello,
we are trying to use the SOAP adapter to send several RFCs
to the backend, our client uses Apache Axis.
We first tried the url http://
AxisFault
faultCode: Server
faultSubcode:
faultString: Application Error
faultActor:
faultNode:
faultDetail:
QIRF_SEND_REQUIRMENTS_GET_DAT2.Exception:
/code
It seems the message is sent to the backend (because
NO_SUBSYS_DEFINED is one of the exceptions defined for
QIRF_SEND_REQUIRMENTS_GET_DAT2 and I see successful
delivery in the RWB) but the content is not recognized.
The almost identical message sent via the HTTP-adapter
works without problems:
<?xml version="1.0" encoding="iso-8859-1" ?>
<rfc:QIRF_SEND_REQUIRMENTS_GET_DAT2 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<rfc:T_QAIVCTAB />
<rfc:T_QAIMVTAB />
<rfc:T_QAICATAB />
<rfc:T_QIERRTAB />
<rfc:I_IND_EVALUATE_CHARACTERISTIC>X</rfc:I_IND_EVALUATE_CHARACTERISTIC>
<rfc:I_IND_SET_BLOCK_INDICATORS>X</rfc:I_IND_SET_BLOCK_INDICATORS>
<rfc:I_IND_TRANSFER_USAGE_DEC_CODES>X</rfc:I_IND_TRANSFER_USAGE_DEC_CODES>
<rfc:I_IND_MULTI_TRANSFER_POSSIBLE>X</rfc:I_IND_MULTI_TRANSFER_POSSIBLE>
<rfc:I_QAILS>
<rfc:SATZART>Q40</rfc:SATZART>
<rfc:SUBSYS>ICD564</rfc:SUBSYS>
</rfc:I_QAILS>
</rfc:QIRF_SEND_REQUIRMENTS_GET_DAT2>
Can anyone help ?
Thanks in advance.
PS: What is the technical difference between the two SOAP
URLs and why are they on different ports? Is there
documentation explaining these issues? And what exactly
does "Use query" string" in the configuration tab for a
SOAP Sender communication channel mean? Which parameters
are allowed for this query string?Hi!!!
The first url you use when you want to send a message to your SOAP adapter.
The second one you use with a plain HTTP adapter - you send a message directly to a pipeline.
Check this link:
http://help.sap.com/saphelp_nw04s/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
Regards,
Andrzej -
Sender SOAP Adapter problem in PI 7.1
Hello Everyone,
I have a problem with Sender SOAP Adapter
In PI 7.0 i am able to receive the messages through sender SOAP Adapter for both HTTP and HTTPS. But when i am testing in PI 7.1 i am unable to receive any messages at Adapter level for both HTTP and HTTPS
All sender leagcy system are getting different error messages like
1. 400 HTTP Bad request.
2. Invalid request.
3. BAPI error message
Could any one please assist me in this problem.
Thanks
VickHi Vick,
Try like this......in ID from your sender agreement in which you have your sender SOAP comm channel, from menu select Display WSDL and then copy the WSDL URL and give it to source applications to use it.............create a service user for them to access PI 7.1 server while sending the SOAP req msg.............
your source applications may have to generate proxy from this WSDL URL in their application and then they can send a SOAP req msg to your PI 7.1 server............
Regards,
Rajeev Gupta -
Receiver SOAP Adapter Problem-HTTP 401 Unauthorized
We are using XI-7.0. We have scenario IDOC >> XI >> SOAP by making asynchornous call.
Vendor has two web server - A and B. Both the servers set up are identical in the vendor system.
Web server "A" works fine from XML spy tool as well as XI for sending service order SOAP messages.
Web server "B", we are able to send SOAP messages from XML spy successfully and vendor also confirms that it updates database in their system.
But we are not able to send SOAP messages from XI on Server "B". We are getting following error message in the adpter engine.
Can someone please help me? Thanks!
<i>SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized.</i>
Thanks!
MPHi Riya,
For SSL configuration you can check,
Rajendra's blog http://scn.sap.com/people/rajendra.badi/blog/2011/11/23/pi-711-transport-level-secuirty-communicating-with-external-web-service-from-soap-adapter-through-ssl
Khade's blog http://scn.sap.com/people/s.khade/blog/2011/09/06/secured-connection-to-external-web-service-using-sap-xipi.
Regards. -
SP13 : SOAP Adapter Problem
Hi All,
Recently we upgraded from SP9 to SP13. Every since we upgraded to SP13 we are experiencing weird problem with Outbound SOAP adapter.
We have exposed an outbound interface as a webservice, which is consumed by a .Net application. When the .Net application try's to call the webservice, we get soap exception "Server Error".
To make sure the call is reaching XI, we put in wrong credentials and we got authorization error. So the call is getting to XI.
Has anyone encountered this weird problem? Any thoughts or suggestions will be very much appreciated.
Thanks,
naveenHi,
There is a tool called SOAPScope from www.Mindreef.com
Its a webservices diagnostic tool. Use this to troubleshoot.you can get a evaluation for 4 days i guess.
Regards,
Sridhar -
Hello all, I have the following scenario:
Web Service -> XI -> ECC
This of course is using the SOAP adapter and the IDoc adapter. My configuration looks good, the testing tools all verify that it's set up correctly. Something is not working correctly. When I post a purchase order from the web service I am asked to log in (normal) and after entering credentials I receive an error:
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
<context>XIAdapter</context>
<code>MalformedMessageException</code>
<text><![CDATA[
com.sap.aii.messaging.mo.MalformedMessageException: No SOAP Envelope but 1 ProcessPurchaseOrder
at com.sap.aii.messaging.mo.Message.reparseRootDocument(Message.java:1048)
at com.sap.aii.messaging.net.MIMEInputSource.readSOAPPart(MIMEInputSource.java:620)
at com.sap.aii.messaging.net.MIMEInputSource.decodePart(MIMEInputSource.java:612)
at com.sap.aii.messaging.net.MIMEInputSource.readBody(MIMEInputSource.java:380)
at com.sap.aii.messaging.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58)
at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:387)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
]]></text>
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
I'm not sure what to make out of this. It looks as though the web service is connecting to the SOAP adapter, but if I go to transaction SXMB_MONI there are no messages, so apparently the message isn't reaching the SOAP adapter correctly. I'm using the following url:
http://server:port/XISOAPAdapter/MessageServlet?channel:wosdev_pws:PO_Sender
Where <b>wosdev_pws</b> = the business system I attached as service without party
and where <b>PO_Sender</b> = communication channel for SOAP adapter configuration
Perhaps I have misunderstood the SOAP adapter and misconfigured it. Is that web address correct?Harriosn,
The url http://server:port/XISOAPAdapter/MessageServlet?channel:wosdev_pws:PO_Sender is incorrect. Instead you use this and check once again:
http://server:port/XISOAPAdapter/MessageServlet?channel=:wosdev_pws:PO_Sender
---Satish -
Hi,
I 've the following scenario:
Legacy (File)->XI-(Split the message)-->Proxy
I receive the file, into XI, I split the message and send one message for each line, and send to proxy.
The communication channel for proxy is not able to with multiple structures, for solved it i have a communication channel SOAP Receiver and SOAP Send.
The systems are:
BS_LEG (Sender)
BS_XI
BS_SAP (Receiver)
In configuration i have:
Sender BS_LEG
Interface: MT_File_OUT
CC: CC_File_Send
Receiver: BS_XI
Interface: MT_File_ABS (Split)
CC:CC_SOAP_Rec
Message send one to one.
Sender: BS_XI
Interface:MT_File_ABS (Split)
CC: CC_SOAP_Send
Receiver: BS_SAP
Interface:MT_File_IN
CC: CC_Proxy_Rec
In Communication channel SOAP Adapter Receiver returns the following error:
SYSTEM_NOT_CONFIGURED_AS_XMB
I have check all configurations and it seems ok.
Please, could somebody help me? Thanks.
GemmaHello Gamma,
go thru the below threads might help
SYSTEM_NOT_CONFIGURED_AS_XMB
FTP2IDoc - SYSTEM_NOT_CONFIGURED_AS_XMB
SYSTEM_NOT_CONFIGURED_AS_XMB Error
Cheers
Agasthuri Doss -
I am trying to parse XML Schema using XSOM. The Schema has <xs:include>s
e.g. I have first.xsd which includes second.xsd and second.xsd again includes third.xsd.
First.xsd
<xs:include schemaLocation="../Second.xsd">....
Second.xsd
<xs:include schemaLocation="Third.xsd">....
When I parse "First.xsd" parser passes the correct path "C:/XSDSchema/Second.xsd"(First.xsd resides in "C:/XSDSchema/Schema/") to the EntityResolver's resolveEntity method. But for Second.xsd it passes "Third.xsd" only (Third.xsd resides in "C:/XSDSchema/" ) .
Any Idea ?????Here is a screenshort of the part of my workflow:
In the mappings of the "Set Value" activity, I have one line with those properties:
Location: /process_data/bonusValidationForm/object/data/xdp/datasets/data/BonusValidationForm/buMan agerID
Expression: /process_data/currentUser/object/@userId
Where:
bonusValidationForm is a process variable of my workflow that point my xdp form
buManagerID is the textfield I want to set
currentUser is a process variable (type User) that was well setted by the task Find BU Manager -
Problem in parsing XML using DOM Parser.
Hi,
I am parsing an XML using DOM Parser.
When i try to get attributes of a node, i dont get in the order it is written. For Eg. This the node:
<Level0 label="News" link="/website/ing_news.nsf/ViewNewsForm?OpenForm&All" level="202" uid="COGN-4MNMT3" parentid="aaaa">
When i try to print the attribute values i should get in the order:
News, /website/ing_news.nsf/ViewNewsForm?OpenForm&All, 202, COGN-4MNMT3, aaaa
BUT I AM GETTING IN THE ORDER:
News, 202, /website/ing_news.nsf/ViewNewsForm?OpenForm&All, aaaa, COGN-4MNMT3
Is there any way to sort this problem out?
Thanks and Regards,
AshokHi Guys,
Thanks a lot for your replies.
But i want to keep all the values as attributes only.
the XML file is as shown below:
<Menu>
<Level0 label="News" link="/website/ing_news.nsf/ViewNewsForm?OpenForm&All" level="202" uid="COGN-4MNMT3" parentid="aaaa" children="3">
<Level1 label="ING News" link="" level="1" uid="COGN-4MNN89" parentid="COGN-4MNMT3" children="3" >
<Level2 label="All ING News" link="/website/ing_news.nsf/ViewNewsForm?OpenForm&All" level="2" uid="INGD-4MVTK2" parentid="COGN-4MNN89" children="0">
</Level2>
</Level1>
</Level0>
The code i was using to get attributes is:
String strElementName = new String(node.getNodeName());
// System.out.println("strElementName:"+node.getNodeName());
NamedNodeMap attrs = node.getAttributes();
if (attrs != null) {
int iLength = attrs.getLength();
for (int i = 0; i < iLength; i++) {
String strAttributes = (String) attrs.item(i).getNodeName();
String strValues = (String) attrs.item(i).getNodeValue();
Also is it not possible to Enforce the order using some Schema/DTD in this case?
TIA
Ashok -
Problem in parsing XML using DOM
I am getting one XML file as string like <?xml version="1.0" encoding="ISO-8859-1" ?> <DMSI-ACTIVITY-COMMENTS> </DMSI-ACTIVITY-COMMENTS>
Every time I want to add new node <ACTIVITY>
<NAME></NAME>
<ID></ID>
<COMMENT></COMMENT>
</ACTIVITY> whenever user make any change in my application.
I wrote code....
InputStream inputStream = new ByteArrayInputStream(file.getBytes());
Document doc = docBuilder.parse(inputStream);
Element activityNode = doc.createElement("ACTIVITY");
Element nameNode = doc.createElement("NAME");
activityNode.appendChild(nameNode);
Text nametextNode = doc.createTextNode(name);
nameNode.appendChild(nametextNode);
Element root = doc.getDocumentElement();
root.appendChild(activityNode);
String resultUDA = doc.toString();
Problem: Here I am getting value of resultUDA is [#document: null]. I need updated XML as String....
any one can give me suggestion or any other option to solve this issue...
thanks in advance...I got it ....pls check on it
http://www.theserverside.com/discussions/thread.tss?thread_id=26060 -
XI SOAP adapter : Error during parsing the SOAP part
Hello experts,
We have several scenarios SOAP to IDocs.
We are on XI 3.0 SP19, and since 9/6/09 around 4:00 PM GMT, our SOAP channels used to communicate with a specific 3rd party all stoped accepting incoming SOAP requests. All the messages are stucked on third party side, and we get the following error in the defaulttrace and application logs :
#1.5#001125A5BCD00066000076850013109E00046BF6A963E479#1244607054865#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK#sap.com/com.sap.aii.af.soapadapter#com.sap.aii.messaging.mo.Message.reparseRootDocument()#PIMSOAP#21217##pxaci_PXA_6443451#PIMSOAP#a71ebfa0556d11decc24001125a5bcd0#SAPEngine_Application_Thread[impl:3]_50##0#0#Error#1#com.sap.aii.messaging.mo.Message#Plain###Error during parsing the SOAP part --- java.lang.NullPointerException#
It happened at the same time on all the environments for every interfaces using SOAP message from this sender to XI. That's the reason why we think it is a global issue, but we can not find anything concerning this error. Has anybody encountered this error or would have any clue of where it comes from ?
Many thanks,
Best regards,
GuislainHello Michal,
Thanks a lot for your help. Actualy we have tested with SOAP UI yesterday and this is what came out of the tests :
test 1 : we tried to call the XI service with the wsdl and put dummy data inside --> test OK
test 2 : we loaded in SOAP UI one of the file from our partner and tried to call the service --> test NOT OK
test 3 : we realized that there were some blank lines at the beginning of the file provided by the partner. we removed these blank lines --> test OK.
So we first thought that the format of the file sent by the partner was wrong and this is why we were getting the parsing error, because of these blank line. The thing is that these blank lines have always been here ! We have checked with old successful messages and they contain also these lines and if we test them in SOAP UI we get an error also. so it does not seems to come from this.
Moreover, as I said in my previous message, it happened on all the environments approximatly at the same time, so we are suspecting a global problem, but which one ? That's the million dollar question
Would you have any other ideas ?
Thanks a lot,
Best regards,
Guislain -
Hi,
I am getting the following error in moni when i try to consume a webservice. Even SOAP scenarios that were working fine before also are throwing the same error.I have checked some threads regarding the same error and did as mentioned in the same, but of no use. I executed that webservice alone and it is working fine. Any help on this will be appreciated.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/PLAIN</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards,
Sudheer.Hi Sudheer,
Let me confirm again...From XI , you are making a SOAP call using the SOAP receiver adapter..right ?
If that is the case and you are telling sometimes it works and sometimes it doesnot, it indicates the SOAP service you are invoking from XI due to some reason is sending back non-soap response...
we had encountered scenarios couple of time like this because the user we were using to execute the SOAP call had expired and the SOAP service was returning and HTTP-UNauthorized message back and then in MONI it would show up as the same error as what your are getting.
To check this, (the request/response going back and forth), in my earlier post i suggested using the TCP gateway...
Thanks. -
Problems whilst Parsing XML with KXML2
I have been doing a lot of reading up on the APIs of XMLPull and KXML2.
I seem to be facing a problem which can't be solved just by reading but rather the expertise of the more experienced programmers dealing with XML parsing in J2ME.
I know how long it takes to process an entire XML document, I just would like to parse certain parts of the document. For e.g. instead of reading the whole document, say I just want to read the first 7 items and subsequently, the next 7 items when the user clicks on the next page?
In other words, I wish to incorporate paging. Is it possible? Or if you have an alternative solution which will not make a user wait too long, please share it!
Can anyone help me?I don't think that is possible. We can't make the XML
any smaller because it contains all the information I
want to display. Just that I want to display it in
pages/sections so as to reduce the load.
So I was thinking of whether it is possible to read
the first 5 <title> tags and next 5 for every page
... etcimagine that you have 20 pages so the user will have to download a 20 x 5 items xml file?
if the user stops the navigation at page 4, he will download 16 pages for nothing so that's
why i told you to separate the results...
an xml file for each page and not a huge for all !
Maybe you are looking for
-
When we need to go for single sign-on in SAP-XI
hi, When exactly we need single sign-on, and if we do not implement single sign-on in XI , do we get any problems during implementing the project. Regards siva
-
File Sharing with Windows XP?
Trying to connect from my windows machine to my mac. On the mac, I eneabled filesharing in the preferences, and enabled smb. I can connect windows to the mac (i.e. <double backslash><the mac's IP>) - once there I see one folder for each of the user's
-
IDOC number related to the delivery
Hi All, I have issue regarding finding out IDOC related to a delivery. When the output is processed for a delivery, idoc gets created. Now this idoc number gets stored in the EDIDC table. In delivery one can get the related idoc number by checking th
-
Predictive typing in JTextField
Hi All I am currently working on A GUI Swing interface. I want to create a textfield that could process predictive typing. For example, I have a vector of strings (allowed words to type in). As soon as the user starts entering some characters into th
-
Playback of 1080p footage looks like studdering
I export my footage to Apple ProRes 422 HQ 1080p. Then I run a check in Quicktime 7. Need it to set a posterframe. But when I run the clip, people walking in the shot look like shot in a slower framerate. Got a big shock, because it would mean to re