Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 150707 Details for
Bug 293549
can't parse the object
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
CXf Client for testing sharepoint web service
CopySoap_CopySoap_Client.java (text/plain), 4.41 KB, created by
houssem
on 2009-10-28 05:38:28 EDT
(
hide
)
Description:
CXf Client for testing sharepoint web service
Filename:
MIME Type:
Creator:
houssem
Created:
2009-10-28 05:38:28 EDT
Size:
4.41 KB
patch
obsolete
> >package com.microsoft.schemas.sharepoint.soap; > >/** > * Please modify this class to meet your needs > * This class is not complete > */ > >import java.io.File; >import java.net.MalformedURLException; >import java.net.URL; >import javax.xml.namespace.QName; >import javax.jws.WebMethod; >import javax.jws.WebParam; >import javax.jws.WebParam.Mode; >import javax.jws.WebService; >import javax.xml.bind.annotation.XmlSeeAlso; >import javax.xml.ws.RequestWrapper; >import javax.xml.ws.ResponseWrapper; > >/** > * This class was generated by Apache CXF 2.2.3 > * Tue Oct 27 11:12:15 CET 2009 > * Generated source version: 2.2.3 > * > */ > >public final class CopySoap_CopySoap_Client { > > private static final QName SERVICE_NAME = new QName("http://schemas.microsoft.com/sharepoint/soap/", "Copy"); > > private CopySoap_CopySoap_Client() { > } > > public static void main(String args[]) throws Exception { > URL wsdlURL = Copy.WSDL_LOCATION; > if (args.length > 0) { > File wsdlFile = new File(args[0]); > try { > if (wsdlFile.exists()) { > wsdlURL = wsdlFile.toURI().toURL(); > } else { > wsdlURL = new URL(args[0]); > } > } catch (MalformedURLException e) { > e.printStackTrace(); > } > } > > Copy ss = new Copy(wsdlURL, SERVICE_NAME); > CopySoap port = ss.getCopySoap(); > > { > System.out.println("Invoking copyIntoItemsLocal..."); > java.lang.String _copyIntoItemsLocal_sourceUrl = ""; > com.microsoft.schemas.sharepoint.soap.DestinationUrlCollection _copyIntoItemsLocal_destinationUrls = null; > javax.xml.ws.Holder<java.lang.Long> _copyIntoItemsLocal_copyIntoItemsLocalResult = new javax.xml.ws.Holder<java.lang.Long>(); > javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.CopyResultCollection> _copyIntoItemsLocal_results = new javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.CopyResultCollection>(); > port.copyIntoItemsLocal(_copyIntoItemsLocal_sourceUrl, _copyIntoItemsLocal_destinationUrls, _copyIntoItemsLocal_copyIntoItemsLocalResult, _copyIntoItemsLocal_results); > > System.out.println("copyIntoItemsLocal._copyIntoItemsLocal_copyIntoItemsLocalResult=" + _copyIntoItemsLocal_copyIntoItemsLocalResult.value); > System.out.println("copyIntoItemsLocal._copyIntoItemsLocal_results=" + _copyIntoItemsLocal_results.value); > > } > { > System.out.println("Invoking getItem..."); > java.lang.String _getItem_url = ""; > javax.xml.ws.Holder<java.lang.Long> _getItem_getItemResult = new javax.xml.ws.Holder<java.lang.Long>(); > javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.FieldInformationCollection> _getItem_fields = new javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.FieldInformationCollection>(); > javax.xml.ws.Holder<byte[]> _getItem_stream = new javax.xml.ws.Holder<byte[]>(); > port.getItem(_getItem_url, _getItem_getItemResult, _getItem_fields, _getItem_stream); > > System.out.println("getItem._getItem_getItemResult=" + _getItem_getItemResult.value); > System.out.println("getItem._getItem_fields=" + _getItem_fields.value); > System.out.println("getItem._getItem_stream=" + _getItem_stream.value); > > } > { > System.out.println("Invoking copyIntoItems..."); > java.lang.String _copyIntoItems_sourceUrl = ""; > com.microsoft.schemas.sharepoint.soap.DestinationUrlCollection _copyIntoItems_destinationUrls = null; > com.microsoft.schemas.sharepoint.soap.FieldInformationCollection _copyIntoItems_fields = null; > byte[] _copyIntoItems_stream = new byte[0]; > javax.xml.ws.Holder<java.lang.Long> _copyIntoItems_copyIntoItemsResult = new javax.xml.ws.Holder<java.lang.Long>(); > javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.CopyResultCollection> _copyIntoItems_results = new javax.xml.ws.Holder<com.microsoft.schemas.sharepoint.soap.CopyResultCollection>(); > port.copyIntoItems(_copyIntoItems_sourceUrl, _copyIntoItems_destinationUrls, _copyIntoItems_fields, _copyIntoItems_stream, _copyIntoItems_copyIntoItemsResult, _copyIntoItems_results); > > System.out.println("copyIntoItems._copyIntoItems_copyIntoItemsResult=" + _copyIntoItems_copyIntoItemsResult.value); > System.out.println("copyIntoItems._copyIntoItems_results=" + _copyIntoItems_results.value); > > } > > System.exit(0); > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 293549
: 150707