Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

selvi sibi

Greenhorn
+ Follow
since Feb 18, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by selvi sibi

Hi,

I can retrieve getlist collection and getlistitems using the post method. but when access getlistitems with one list , no items are shown, but there is more than one items exists for that listname.
That means if there are list1, list2, list3 document, I get the list items for list2 only. List 1 and List 3 have more than 1 sub items but following ouput is generated when we given list1 and list3 as listname.

For list2

input xml is

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.microsoft.com/sharepoint/soap/"><soapenv:Header/><soapenv:Body><soap:GetListItems><soap:listName>List2</soap:listName><soap:viewName></soap:viewName><soap:query></soap:query><soap:viewFields></soap:viewFields><soap:rowLimit></soap:rowLimit><soap:webID></soap:webID></soap:GetListItems></soapenv:Body></soapenv:Envelope>



out xml is

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<rs:data ItemCount="9">
<z:row ows_LinkFilename='Finance' ......................................................................... etc


Output Generated

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetListItemsResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"><GetListItemsResult><listitems xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<rs:data ItemCount="0">
</rs:data>
</listitems></GetListItemsResult></GetListItemsResponse></soap:Body></soap:Envelope>

The expected value for ItemCount is 4 for list1 and list3. We couldn't find any solution for getting different output with same code....
Please help me for this issue ......
10 years ago
Hii,


I tried this article to get share point document library, but I'm getting the Http Erro 400:bad request.
Please Provide your suggestions


Thanks in advance
10 years ago
Iam trying to access share point web service in java... The web service produces output when accessing through netbeans. but when accessing the jar created from netbeans in eclipse generating
"The server sent HTTP status code 400: Bad Request ". We can access the same web service in main method of the class in eclipse, but it is not geeting in plugin project.
The error got is as follows

com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 400: Bad Request
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 400: Bad Request
at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:217)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:593)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:552)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:537)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:434)
at com.sun.xml.internal.ws.client.Stub.process(Stub.java:247)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(SEIStub.java:132)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:222)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:115)
at $Proxy29.getListCollection(Unknown Source)
at sharepointaccess.Manager.getDocuments(Manager.java:106)
at sharepointaccess.SharePointAccessCls.getDocuments(SharePointAccessCls.java:49)
at com.snapps.dragndroptest.views.DragnDropView.createModel(DragnDropView.java:535)
at com.snapps.dragndroptest.views.DragnDropView.createPartControl(DragnDropView.java:269)
at com.ibm.rcp.ui.internal.shelf.ShelfViewReference.createPartHelper(ShelfViewReference.java:341)
at com.ibm.rcp.ui.internal.shelf.ShelfViewReference.createPart(ShelfViewReference.java:210)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at com.ibm.rcp.ui.shelf.ShelfPage.activatePart(ShelfPage.java:2141)
at com.ibm.rcp.ui.shelf.ShelfPage.access$13(ShelfPage.java:2132)
at com.ibm.rcp.ui.shelf.ShelfPage$15.handleEvent(ShelfPage.java:2411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at com.ibm.rcp.swt.swidgets.SViewForm.internalSetMaximized(SViewForm.java:803)
at com.ibm.rcp.swt.swidgets.SViewStack.updateExpandedStates(SViewStack.java:732)
at com.ibm.rcp.swt.swidgets.SViewStack.setCollapsed(SViewStack.java:688)
at com.ibm.rcp.swt.swidgets.SViewStack$5.handleEvent(SViewStack.java:391)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at com.ibm.rcp.swt.swidgets.SViewForm.internalSetCollapsed(SViewForm.java:762)
at com.ibm.rcp.swt.swidgets.SViewForm.setCollapsed(SViewForm.java:743)
at com.ibm.rcp.ui.internal.presentations.ShelfStackPresentation.restoreState(ShelfStackPresentation.java:226)
at com.ibm.rcp.ui.internal.presentations.ShelfStackPresentation.addPart(ShelfStackPresentation.java:164)
at com.ibm.rcp.ui.shelf.ShelfPage.createViewForm(ShelfPage.java:2264)
at com.ibm.rcp.ui.shelf.ShelfPage.addShelfView(ShelfPage.java:1898)
at com.ibm.rcp.ui.shelf.ShelfPage.init(ShelfPage.java:1335)
at com.ibm.rcp.ui.shelf.ShelfPage.access$44(ShelfPage.java:1290)
at com.ibm.rcp.ui.shelf.ShelfPage$3$2.runInUIThread(ShelfPage.java:604)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at com.ibm.rcp.personality.framework.internal.RCPWorkbenchAdvisor.openWindows(RCPWorkbenchAdvisor.java:827)
at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1363)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4342)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1358)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2314)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.ibm.rcp.personality.framework.internal.RCPApplication.run(RCPApplication.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

Please help me
10 years ago
Hi,

I have created a jax-ws web service. It runs fine in my development environment. When deploying to linux server machine, jdk1.6.0_10, tomcat 5.5.23, I get the following errors:

Cause of error is

failed to parse runtime descriptor: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found


/*********************************************************
com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Apr 27, 2011 3:28:32 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.sun.xml.ws.util.xml.XmlUtil.(XmlUtil.java:212)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.createEntityResolver(DeploymentDescriptorParser.java:402)
at

*************************************************************************************/

I'm stuck on this issue. Please help me to find the solution
10 years ago
Hiii,

In my application, I stored database values into an array list and populated on html table using logic:iterate. There is a two combo boxes on each row for storing month details. But in opera 10.6.3 first page is populated with data then next time body is loading. I couldn't solve this issue. If a



Codes are as follows
---------------------------------------------------------------------------------------------------
<select name="startMonth<%=i%>" id="startMonth<%=i%>" class="city-box" style="width: 50px; height: 20px;"
onmouseover="showToolTipC(event,this,'Starting Month');return false"
onmouseout="hideToolTipC();
value = <bean:write name="data" property="startMonth"/>">

<option value="0" selected="true">-select-</option>
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>
<script>
var sel=document.getElementById("startMonth<%=i%>");
var val='<bean:write name="data" property="startMonth"/>';
sel.value=val;
</script>
--------------------------------------------------------------------------------------------------------------------------


After populating all the values from array list, then however, page is refreshing. On that time start month value reset to -select-.
I don't know I am on the right way. If any one have suggestions, please reply me. It happens only on opera 10.6 version.


10 years ago
I am using struts1.3.8 .... When I request for home page it loads and functions correctly. On all browsers other than IE it is ok. But this issue is only when I perform logout. If youhave any suggestions, Please help me .....

In my home page there is login section and searching section. Date pickers are using in my index page....
After performs logout function, then whenever we request home page is is refreshing continously.........


10 years ago
Hii,
thanks for your reply. I'm stuck on this issue. in my logout page, I remove the cookies for a particulat email so that to remove him from keep me signed in portion. On the next step forwardint to my index page....


<% // for removing cookies after logout
if (session.getAttribute("sesEmailAddressl") != null) {
ClassName obj = new ClassName ();
String email = session.getAttribute("sesEmailAddressl").toString();
objLoginDAOImpl.removeCookies(response, email, "");
}
if (session != null) {
session.invalidate();
}
%>
<jsp:forward page="toLogin.do"/>
10 years ago
When I perform a logout function, my home page is loading continously . Can you please suggest a solution. It is the problem only on IE browser. It happens only after perform a logout function. Thanks in advance...

10 years ago
Hi,

In my project , I want to display month ranges on comboboxes from database stored on arraylist. I populated db values using logic:iterate . But in my opera 10.3, after loading db values on corresponding comboboxes, pag is refreshing automatically and populated values lost because of refreshing. How can i avoid the refreshing or loading pages automatically after fetching db values. I am using struts1.3.8 . I welcome your valuable suggestions.
10 years ago