Calling a servlet giving an XML stream
Hi,
Can you tell me the different ways to call a java servlet giving a <XML> stream ?
Thanks
Can you tell me if the following code is in the right way ?
XMLTest( HttpServletRequest requete ){
SAXParser parser = new SAXParser( );
parser.setContentHandler (this);
try {
parser.parse( new InputSource( requete.getReader() ) );
catch (SAXException e) {
System.err.println (e);
catch (IOException e) {
System.err.println (e);
And can you tell me how to test ? I mean, how to send a http post or get th the servlet that will include the parser ?
Similar Messages
-
How to parse a XML stream sent to servlet with PUT method
Hi,
I have to interface my servlet app with other apps communicating with XML.
This way, My servlet will receive a XML stream in the http request, parse it and send back a XML message.
What I've done is :
An html page to send a XML File with a put method :
<form enctype="multipart/form-data" method="PUT" action="http://localhost:8080/MyApp/servlet/TestUploadServlet">
<input type="file" size="20" name="FileToUpload" value="Select File">
<input type="submit" name="UploadFile" value="Upload">
<input type="reset" value="Reset">
</form>
A servlet TestUploadServlet with :
SAXParser parser = new SAXParser( );
Trace.traceLine( "SAXParser" );
parser.setContentHandler (this);
try {
parser.parse( new InputSource( requete.getInputStream() ) );
catch (SAXException e) {
Trace.traceLine( e.getMessage() );
catch (IOException e) {
Trace.traceLine( e.getMessage() );
and the methods startElement, stopElement and other to work with the elements detected by the parser (already used by other programs parsing local xml files).
And it doesn't work.
is the html code is a good way to send a file in the http Put method ?
is the parser.parse( new InputSource( requete.getInputStream() ) ); a good method to read the stream ?
please help.I think the problemn comes from the method used to send the <XML> stream.
Using an html form doesn't seem to be a good method.
I tried several methods or examples found and none of them seems to work.
here is another example in the servlet side :
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
ServletOutputStream output = res.getOutputStream();
output.println("ContentType: " + req.getContentType() + "<BR>");
int content_length = req.getContentLength();
output.println("ContentLength: " + content_length + "<BR>");
if(content_length > 0) {
output.println("Content: ");
ServletInputStream input = req.getInputStream();
byte [] buffer = new byte[1024];
int nb;
while((nb=input.read(buffer))!= -1) {
output.write(buffer,0,nb);
Can somebody tell me how to write a java code sending a http request with the content of a file in the content of the request ? -
Hi,
I'm not sure if this is the correct forum to post this but hopefully someone can point me in the correct direction or answer my question.
I am using swfchart 5.08. I'm new to this but have read the documentation and had an older version which didn't use the AC_FL_Content but was able to use a servlet to generate the XML. I recently downloaded the latest version into a new directory and was trying to see if I could get it to work. It doesn't appear to call my servlet.
In my directory structure I have:
public_html
has the charts_library directory, resources directory, and the AC_RunActiveContent.js, charts.swf, charts.txt, and sample.html files. I have a procurement.jsp file which is used to run the flash player.
WEB-INF/classes
has the class file for XMLGen
WEB-INF/src/com/sbec/swfchart508
has the source XMLGen.java file
I created sample3.jsp as a copy of the new sample.html. I moved over my code from the previous version (mostly just setting up a string called "query1" containing the chart and chart data variable data).
I changed the line from the sample.html
Code:
'FlashVars', 'library_path=charts_library&xml_source=sample.xml',
to
Code:
'FlashVars', 'library_path=charts_library&xml_source=XMLGen<%=query1%>',
I have tried to put the full path to XMLGen (i.e. com.sbec.swfchart508.XMLGen) and it still didn't work.
It doesn't seem to call my servlet. None of the System.out.println statements appear. It brings up the page and says: Loading XMLGen? followed by the items in my "query1" string. I use the alert messages to see that the query1 string is correct..
Can anyone tell me why it isn't calling my servlet?
Thanks in advance,
EllyHi,
I'm running into the same problem deploying the classes generated by the class generator. Code works fine from JDeveloper, but had to put my DTD in the directory where my classes are. Deploying the classes with Apache's JServ gives me a NullPointer exception on the first addNode method. I guess it can't find the DTD. I tried to put the DTD in many locations but this didn't fix the problem. Any suggestions?
Steve,
Did you fix this problem? Thanx!
null -
Hi folks,
I'm trying to establish a CSTRING XML stream with utf-8 encoding. I've only managed to do this in XSTRING so far.
If i use this coding, i get a binary output.
DATA: gt_result TYPE TABLE OF string,
l_result type string.
constants: encoding type string value 'UTF-8'.
data: g_ixml type ref to if_ixml.
data: g_stream_factory type ref to IF_IXML_STREAM_FACTORY.
data: g_encoding type ref to if_ixml_encoding.
g_ixml = cl_ixml=>create( ).
g_stream_factory = g_ixml->CREATE_STREAM_FACTORY( ).
g_encoding = g_ixml->create_encoding( character_set = 'utf-8'
byte_order = 0 ).
data: resstream type ref to if_ixml_ostream.
resstream = g_stream_factory->create_ostream_cstring( l_result ).
call method resstream->set_encoding
EXPORTING
encoding = g_encoding.
* XML Transformieren
CALL TRANSFORMATION id_indent
SOURCE itab = it_Itab
RESULT XML resstream.
* Temporär, XML File erzeugen
refresh gt_result.
APPEND l_result TO gt_result.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = 'c:test.xml'
CHANGING
data_tab = gt_result
EXCEPTIONS
file_write_error = 1.
Without this expression :
g_encoding = g_ixml->create_encoding(
character_set = 'utf-8' byte_order = 0 ).
I get a cstring stream, but in utf-16.
My question now is, how do I manage to get a utf-8 encoded stream in cstring?
Thanks for your help.
Cheers
DanielThis is the solution:
METHOD TRANSFORM_XML.
TYPE-POOLS TRUXS.
*********************** XML ***********************************
DATA: GT_RESULT TYPE TABLE OF STRING,
L_RESULT TYPE ETXML_LINE_STR.
CONSTANTS: ENCODING TYPE STRING VALUE 'UTF-8'.
DATA: G_IXML TYPE REF TO IF_IXML.
DATA: G_STREAM_FACTORY TYPE REF TO IF_IXML_STREAM_FACTORY.
DATA: G_ENCODING TYPE REF TO IF_IXML_ENCODING.
G_IXML = CL_IXML=>CREATE( ).
G_STREAM_FACTORY = G_IXML->CREATE_STREAM_FACTORY( ).
G_ENCODING = G_IXML->CREATE_ENCODING( CHARACTER_SET = ENCODING
BYTE_ORDER = 0 ).
DATA: RESSTREAM TYPE REF TO IF_IXML_OSTREAM.
RESSTREAM = G_STREAM_FACTORY->CREATE_OSTREAM_XSTRING( L_RESULT ).
CALL METHOD RESSTREAM->SET_ENCODING
EXPORTING
ENCODING = G_ENCODING.
* XML Transformieren
CALL TRANSFORMATION ID_INDENT
SOURCE ITAB = IT_ITAB
RESULT XML RESSTREAM.
* XString to String
CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
EXPORTING
IM_XSTRING = L_RESULT
IM_ENCODING = 'UTF-8'
IMPORTING
EX_STRING = E_XML.
* Temporär, XML File erzeugen
refresh gt_result.
APPEND e_xml TO gt_result.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = 'c:test.xml'
CHANGING
data_tab = gt_result
EXCEPTIONS
file_write_error = 1.
ENDMETHOD.
How can I give the 10 points to myself?
Cheers
Daniel -
Calling a servlet in java class
Hello,
I try to call a servlet from java class
but is dose not work
what should be the problem
public void callServlet()
try
// xxservlet is the servlet name
URL url = new URL("http://www.mydomain.com/xxservlet");
URLConnection hpCon = url.openConnection();
hpCon.setDoOutput(true);
OutputStreamWriter out = new OutputStreamWriter(hpCon.getOutputStream());
out.write("This Is a Test");
out.flush();
out.close();
}catch(Exception ex){ex.printStackTrace();}
// My Servlet is in package servlets
public class XXServlet extends HttpServlet
public void service(HttpServletRequest req, HttpServletResponse resp) {
try {
ServletInputStream sin = req.getInputStream();
int len = req.getContentLength();
byte[] input = new byte[len];
ServletInputStream sin = req.getInputStream();
int c, count = 0 ;
while ((c = sin.read(input, count, input.length-count)) != -1) {
count +=c;
sin.close();
String inString = new String(input);
System.out.println("Servlet is running ...."+inString);
} catch (IOException e) {
try{
resp.setStatus(HttpServletResponse.SC_BAD_REQUEST);
resp.getWriter().print(e.getMessage());
resp.getWriter().close();
} catch (IOException ioe) {
// web.xml
<servlet>
<servlet-name>xxservlet</servlet-name>
<servlet-class>servlets.XXServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>xxservlet</servlet-name>
<url-pattern>/xxservlet</url-pattern>
</servlet-mapping>
}regards
Edited by: the_Orient on Mar 30, 2009 3:16 AMI have start servlet from brwoser only to test that servlet works fine
A gain what I need
I want to call a servlet from a javs class
URL url = new URL("http://www.mydomain.com/myservlet");
URLConnection hpCon = url.openConnection();
hpCon.setDoOutput(true);
OutputStreamWriter out = new OutputStreamWriter(hpCon.getOutputStream());
out.write("Hello Woprld");
out.flush();
out.close();// Servlet
public void doGet(HttpServletRequest req, HttpServletResponse resp) {
try {
String xp =req.getSession().getServletContext().getRealPath("/");
File f = new File(xp+"/students/info.txt");
f.createNewFile();
} catch (IOException e) {
try{
resp.setStatus(HttpServletResponse.SC_BAD_REQUEST);
resp.getWriter().print(e.getMessage());
resp.getWriter().close();
} catch (IOException ioe) {
problem file can not be created
public void doPost(HttpServletRequest req, HttpServletResponse resp)
}I hope that is clear -
Hi all,
I'm trying to use a gSOAP server and a jax-ws client.
I did a first test with WSDLReader to ask the wsdl from the gSOAP server and read it to display all informations.
It was ok !
Now I try to call a method whit this code :
URL url = new URL("http://localhost:" + port + "/BenchOperations?wsdl");
QName qname = new QName("http://www.Bench.toto.com", "BenchOperations");
Service service = Service.create(url, qname); // EXCEPTION
BenchPortType interfaceDeService = service.getPort(BenchPortType.class);
TimeRequest timeRequest = new TimeRequest();
timeRequest.setSleepDuration(sleep);
TimeResponse timeResponse = interfaceDeService.time(timeRequest);but I have this exception on "Service.create" :
Exception in thread "main" java.lang.NullPointerException
at com.sun.xml.stream.xerces.util.SymbolTable.hash(SymbolTable.java:222)
at com.sun.xml.stream.xerces.util.SymbolTable.addSymbol(SymbolTable.java:143)
at com.sun.xml.stream.XMLReaderImpl.getNamespaceURI(XMLReaderImpl.java:1238)
at javax.xml.stream.util.StreamReaderDelegate.getNamespaceURI(StreamReaderDelegate.java:94)
at com.sun.xml.ws.wsdl.parser.ParserUtil.getQName(ParserUtil.java:66)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortTypeOperationInput(RuntimeWSDLParser.java:689)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortTypeOperation(RuntimeWSDLParser.java:662)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parsePortType(RuntimeWSDLParser.java:636)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:297)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parseWSDL(RuntimeWSDLParser.java:253)
at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:131)
at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:239)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:172)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82)
at javax.xml.ws.Service.<init>(Service.java:56)
at javax.xml.ws.Service.create(Service.java:697)
at com.thalesgroup.bench.client.Client.startClient(Client.java:25)
at com.thalesgroup.bench.client.Client.<init>(Client.java:20)
at com.thalesgroup.bench.client.Client.main(Client.java:16)I don't understand why ! This excpetion show that the client is trying to parse something (that's why I did the first test) and there is a nullPointer.
Thanks a lot for your help
Ob�Hi all,
I compared the wsdl sent by the gSOAP server and the jax-ws server and there are not similar !
this can explain that I have a nullPointerExcpetion when I use a gSOAP server
How I can do ? Why the wsdl sent are not the same ?
Thanks for your help
Ob�lix -
Calling a servlet from another servlet?
Hi
I would like to know that how can I call one Servlet from another Servlet. I have tried getServlet() method of ServletContext but it has been deprecated. I want to call a specific method of the other Servlet, is there any other way?
ThanksI should have seen it from your previous post :(
Code of Servlet 1:
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws
ServletException, IOException
RequestDispatcher rDispatch = null ;
rDispatch = getServletConfig
().getServletContext().getRequestDispatcher
("/Servlet2") ;
rDispatch.forward(request, response) ;
System.out.println("Back in 1");
I assume Servlets 1and 2 are in same web app and you've mapped your servlet2 to /Servlet2 in your web.xml
make it as
rDispatch = request.getRequestDispatcher("/Servlet2");
rDispatch.forward(request,response);
Nothin's wrong with yer servlet2 -
Has anyone successfully called a servlet from xsql? If you have, have you called one from the href in the xsl:stylesheet?
nullCan you post a sample of what you're trying to do? Not sure what you mean by having the XSQL "call a servlet"? Call a servlet when? to serve/use what?
Are you trying to using a servlet to return a dynamically-constructed stylesheet in the role of:
<?xml-stylesheet type="text/xsl" href="http://foo/servlets/myservlet"?>
If not, can you expound on what you're trying to achieve/accomplish?
Thanks. -
Java servlet, DOM and xml help! please urgent!
I have to write a servlet that takes the user input to build a xml document using DOM API and should be able to append new entry to that xml file whenever any user adds an entry. I have written the fillowing code, can anyone please take a look at this code and tell me the right way to do it as this code is actually not creating any xml file and also in commented line of this code I tried by giving blank xml file name with just root element, so that this code can enter new elements like name, title as child element of the root, but doesn't work.
PrintWriter out = res.getWriter ();
res.setContentType ("text/html");
try
Document xmldoc = null;
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
DOMImplementation impl = builder.getDOMImplementation();
// Document xmldoc = builder.parse(xmlfile name);
Element e = null;
Node n = null;
String name = req.getParameter("name");
String title = req.getParameter("title");
String address = req.getParameter("address");
xmldoc = impl.createDocument(null, "records", null);
Element root = xmldoc.getDocumentElement();
e = xmldoc.createElementNS(null, "name");
n = xmldoc.createTextNode(name);
e.appendChild(n);
root.appendChild(e);
e = xmldoc.createElementNS(null, "title");
n = xmldoc.createTextNode(title);
e.appendChild(n);
root.appendChild(e);
e = xmldoc.createElementNS(null, "address");
n = xmldoc.createTextNode(address);
e.appendChild(n);
root.appendChild(e);
DOMSource domSource = new DOMSource(xmldoc);
Source xslSource = new StreamSource (xsl file);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer transformer = tf.newTransformer(xslSource);
transformer.transform(domSource,new StreamResult (out));Document xmldoc = null;
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder();
xmldoc = documentBuilder.newDocument();
Element e = null;
Node n = null;
String name = req.getParameter("name");
String title = req.getParameter("title");
String address = req.getParameter("address");
e = xmldoc.createElement("name");
n = xmldoc.createTextNode(name);
e.appendChild(n);
xmldoc.appendChild(e);
e = xmldoc.createElement("title");
n = xmldoc.createTextNode(title);
e.appendChild(n);
xmldoc.appendChild(e);
e = xmldoc.createElement("address");
n = xmldoc.createTextNode(address);
e.appendChild(n);
xmldoc.appendChild(e);
DOMSource domSource = new DOMSource(xmldoc);
StreamSource xslSource = new StreamSource (xsl file);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer transformer = tf.newTransformer(xslSource);
transformer.transform(domSource,new StreamResult (out)); -
Calling a servlets multiple times from a servlet
Hi All,
Advanced Thanks,
I have a servlet which calls another servlet to display some records. Second servlet will access some data from XML files and forwards to a JSP file. What i want is I need to call the second servlet multiple times from the the first servlet. I used RequestDispatcher to call the servlet but I can call only one time after a an exceptions is occurred like cannot forward after response is committed.
I need this scenario in the saem way because each time second servlet is called I am forwarding response to user each time records are accessed based on the request value.
request.getRequestDispatcher("sample").forward(request, response);
Any one please give me a suggestion?
Thanks in advanceWhat are those servlets supposed to do? Sounds like that they are doing too much, e.g. acting like business classes or utility classes or so. Refactor your code.
-
Call a servlet from Faces Portlet in Websphere
Hi All,
I have created a JSR-168 Faces Portlet project and using RAD(IDE) and WebSphere Portal server.
I want to call a servlet from my jsf portlet.But i do not know where to place my servlet in the project directory.And how to invoke a call to my servlet from my portlet.
Please help me find an answer.
Best Regards,
Pallavihi Pallavi,
Yes you can do that, what you have to do is you can get the ExternalFacesContext and forward your request to the servlet, you have entry for your servlet in web.xml...
I am sure about it but you can try this
Hope it will work.
Surya -
How to call a servlet in a Session Bean
Hi All
I have one servlet program.And i have One Sessionbean.
I want to call the servlet in the session bean.
I am using Runtime method in java to call the servlet by giving it's full
path as it's argument.
But it is not working fine.I don't know what is the Problem.
Bye
SatyamHi,
I don't know why you want to do that? You should be doing the other way round i.e. call your session bean from servlet.
I must say that servlets are presentation tier components and session beans are middleware components related to workflow.
HTH
VJ -
Calling a servlet in a HTML page
hi evryone,
I'm new to servlets so i'm trying to create some simple applications to understand how it all works. The thing i'm trying to do is calling a servlet in a HTML page. I've already installed a Tomcat web server and I've created a servlet called Hello.
public class Hello extends HttpServlet{
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String name = req.getParameter("name");
out.println("<HTML>");
out.println("<HEAD><TITLE>Hello, " + name + "</TITLE></HEAD>" );
out.println("<BODY>");
out.println("Hello, " + name);
out.println("</BODY></HTML>");
public String getServletInfo(){
return "testing servlet OK";
}In my HTML page I've written the follwing code:
<HTML>
<HEAD>
<TITLE>Just say hello</TITLE>
</HEAD>
<BODY>
<FORM METHOD=POST ACTION="../servlet/Hello">
What's your name?
<INPUT TYPE=TEXT NAME="name"><P>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>After running this HTML I get a text box and I thing I'm trying to do is, when I click on the button, the servlet will be loaded. However, the servlet can't be found and instead I get an error:
type Status report
message /servlet/Hello
description The requested resource (/servlet/Hello) is not available.
I suppose both file are in their approriate directories, but my class file still has the class extension. Do I need to change this? I hope that someone can help me.
Thanks in advance!hi,
the servlet wasn't in a package, so I changed that. It seems that I get an other error now:
HTTP Status 503 - Servlet servlet/Hello is currently unavailable
type Status report
message Servlet servlet/Hello is currently unavailable
description The requested service (Servlet servlet/Hello is currently unavailable) is not currently available.
I still don't know what I may have forgotten, so i'm gonna resume what i have done till now.
the servlet: (Hello.class)
package servlet;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class Hello extends HttpServlet{
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String name = req.getParameter("name");
out.println("<HTML>");
out.println("<HEAD><TITLE>Hello, " + name + "</TITLE></HEAD>" );
out.println("<BODY>");
out.println("Hello, " + name);
out.println("</BODY></HTML>");
public String getServletInfo(){
return "test servlet OK.";
}the HTML page (testServlet.html)
<HTML>
<HEAD>
<TITLE>Just say hello</TITLE>
</HEAD>
<BODY>
<FORM METHOD=GET ACTION="../servlet/Hello">
What's yoir name?
<INPUT TYPE=TEXT NAME="name"><P>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>the web.xml file
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
<servlet>
<servlet-name>servlet/Hello</servlet-name>
<servlet-class>servlet/Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>servlet/Hello</servlet-name>
<url-pattern>/servlet/Hello</url-pattern>
</servlet-mapping>
</web-app>paths of these files:
- Hello.class => D:\Tomcat 4.1\webapps\ROOT\servlet
- testServlet.html => D:\Tomcat 4.1\webapps\ROOT\more
( - web.xml => D:\Tomcat 4.1\webapps\ROOT\WEB-INF)
Thanks for your help!!! -
System error when calling a servlet
Hi All
I have a servlet deployed in sap j2ee engine. The servlet actually reads a SOAP message , extracts a file attached with the SOAP message and forwards the file to a RFC. Now from a java class I am attaching a file with the SOAP message and calling the servlet. At that moment I am getting system error at com.sap.engine.services.httpserver.server.client.handle(client.java:95) (Thats what I saw in the server system log)...
My servlet extends JAXMServlet implements ReqRespListener.
and use public javax.xml.soap.SOAPMessage onMessage(javax.xml.soap.SOAPMessage sOAPMessage).
Any help would be great!
Regards
SunitI understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
I do not know how they achieve it. I know that they work without a client DC.
Cheers,
PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
Edited by: Prabodh on Dec 5, 2012 8:36 PM -
Webservice Consume Proxy error : XML stream: 'document not wellformed'.
Dear All ,
I facing problem when i try to test my service consumer .
Its end with error message :
Error when processing Web service call
Error when calling SOAP Runtime functions: CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR occurred, but was
An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause
Error while parsing an XML stream: 'document not wellformed'.
Need your help guys.
Thanks,
Ikrar
Edited by: ikrarSAP on Jun 17, 2011 2:34 PMHi,
Actually i dont have any idea on BOBJ. But this kind error usually occurs in the following cases:
The parameters you called from web service do not match with parameters using by tables at R/3. So, it can not parse.
A Web service's WSDL file is not well-formed because of an element specifying two attributes with the same name, the client application produces this error.
Either there is indeed an issue with how the XML is being encoded and then decoded on other end or there's a step that is being missed somewhere.
Thanks & Regards,
Sai Kiran Rao.
Maybe you are looking for
-
Unable to change the item category in existing Scheduling Agreement
HI, I have a schedule agreement where there are already list of line items but saved without the appropriate item category field in all of the line items. Now I see that the Item category column is greyed out & unable to edit or change thru ME32 T.co
-
Adobe Acrobat 11 Pro - silent install not completely silent
Hello, I am trying to create an installer for Adobe Acrobat 11 Pro. I have used the customization wizard to create a transform file for the install and specified it to be silent. However, it appears that windows are still opening in the background wh
-
Greetings This is my fist visit to this forum. PC Details WIN XP PRO SP3 - Fully updated/patched Pentium 4 3.2 GPR - nVidia 6800 GT I purchased the Socialize VF0640 in May this year. Install and setup no problem at all. Last night, I did a Skype and
-
WBS element in Asset Master (Period Dependent Tab)
Hi I have activated the WBS Element in Account Assignment Object in Asset, which has resulted in WBS Element field has appreared in Period Dependent Tab. But the issue is that its grayed-out & i am not able to fill-in any data in it. Can you please i
-
How do I set up so I can recieve email notifications from my sky account
Looking to find out how to recieve notification on my iPad from my sky email account