your namespaces are not resolvable outside of Sharepoint environment Resolvable?
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" Yes xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" Yes xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" Yes xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/ No has been replaced by http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsd xmlns:ns0="http://soap.sharepoint.schemas.microsoft.com/xsd" No xmlns:ns1="http://rmi.java/xsd" No xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" Yes xmlns:ns3="http://io.java/xsd" No xmlns:ns2="http://soap.sharepoint.schemas.microsoft.com" No xmlns:xs="http://www.w3.org/2001/XMLSchema" No has been replaced by http://www.w3.org/2001/XMLSchema.xsd xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" Yes targetNamespace=http://soap.sharepoint.schemas.microsoft.com> No I got this far with your WSDL running OperationClient java com.microsoft.schemas.sharepoint.soap.OperationClient fault exception =Message Receiver not found for AxisOperation: GetWeb so I looked at the Request and Response Message Declarations from the supplied WSDL <wsdl:message name="GetWebRequest"> <wsdl:part name="parameters" element="ns2:GetWeb" /> </wsdl:message> <wsdl:message name="GetWebResponse"> <wsdl:part name="parameters" element="ns2:GetWebResponse" /> </wsdl:message> since ns2 is not resolvable I cant go any further does anyone have access to the sharepoint schemas? http://msdn2.microsoft.com/en-us/library/aa494918.aspx Martin-- ----- Original Message ----- From: Das, Amar To: [email protected] Sent: Monday, November 05, 2007 11:58 AM Subject: RE: Sharepoint Web services Could not quite follow the question. OperationClient is part of the axis2 library. ---------------------------------------------------------------------------- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 11:43 AM To: [email protected] Subject: RE: Sharepoint Web services OperationClient.java ? Martin Gainty ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Subject: RE: Sharepoint Web services > Date: Mon, 5 Nov 2007 10:45:01 -0500 > Wrom: IVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJG("x"); > auth.setHost("x"); > ArrayList<String> authSchemes = new > ArrayList<String>(); > > authSchemes.add(HttpTransportProperties.Authenticator.NTLM); > auth.setAuthSchemes(authSchemes); > > Options options = new Options(); > options.setProperty(HTTPConstants.AUTHENTICATE, > auth); > > ServiceClient serviceClient = > stub._getServiceClient(); > serviceClient.setOptions(options); > > // set NTLM auth > serviceClient.getOptions().setProperty( > > org.apache.axis2.transport.http.HTTPConstants.AUTHENTICATE, > auth); > > GetWebCollection wc = new > WebsStub.GetWebCollection(); > stub.GetWebCollection(wc); > > } catch (Exception e) { > e.printStackTrace(); > } > } > } > </code> > > I am receiving the following error. What am I doing wrong? > org.apache.axis2.AxisFault: Address information does not exist in the > Endpoint Reference (EPR).The system cannot infer the transport > mechanism. > at > org.apache.axis2.description.ClientUtils.inferOutTransport(ClientUtils.j > ava:65) > at > org.apache.axis2.client.OperationClient.prepareMessageContext(OperationC > lient.java:302) > at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA > xisOperation.java:174) > at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:163 > ) > at > com.microsoft.schemas.sharepoint.soap.WebsStub.GetWeb(WebsStub.java:1054 > ) > at ftg.ops.eas.ps.TestShare.main(TestShare.java:45) > > Thanks > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ---------------------------------------------------------------------------- Help yourself to FREE treats served up daily at the Messenger Café. Stop by today!
