• SCJ
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 6
    Replies

Hi all,

 

From what I can tell, the difference between and organization user login and a customer portal login via the API is ...

 

- The organization user must have a security token appended to the password value

- The customer portal user needs to supply organizationID and portalID values in the LoginScopeHeader

 

I cannot determine any way to supply those header values using the Office Toolkit library though, so is it simply not possible to log in as a customer portal user via the Office Toolkit?

 

As an experiment, I did try using the SetSoapHeader function to set those headers, but the login was not successful.  I tried it using "LoginScopeHeader" as the section argument and also using "LoginScope" as the section argument.

 

If the Office Toolkit can't do this job, then does anyone have a recommendation regarding the easiest alternative means of accessing the WS API from VBA and legacy VB6 code?

 

Thanks,

 

- Steve J.

  • March 29, 2010
  • Like
  • 0

Sorry for the re-post - I just realized this is probably the correct group to post my question in, not General Development.

 

Question...

 

I previously installed the IDE successfully, but it did not function correctly because of the problem with the 3.1 version of the XML Editors...

 

I reverted my configuration back to the latest one with a pre-3.1 version of the XML Editor stuff, but then, of course, I the Salesforce IDE needs to be installed again.  When I try to install it, however, I nowget an error that says "No repository found at http://www.adnsandbox.com/tools/ide/install/".  I also get this error if I click Refresh in the Available Software tab.

 

I did not get this error during my earlier install, we are not using a proxy server, and I can browse to the http://www.adnsandbox.com/tools/ide/install/ page just fine using Firefox.  I also tried using Manage Sites to remove "Force.com IDE Update Site", then using "Add Site" to put it back in, but there was no change.

Any ideas?

 

  • December 11, 2009
  • Like
  • 0

I previously installed the IDE successfully, but it did not function correctly because of the problem with the 3.1 version of the XML Editors...

 

I reverted my configuration back to the latest one with a pre-3.1 version of the XML Editor stuff, but then, of course, I the Salesforce IDE needs to be installed again.  When I try to install it, however, I nowget an error that says "No repository found at http://www.adnsandbox.com/tools/ide/install/".  I also get this error if I click Refresh in the Available Software tab.

 

I did not get this error during my earlier install, we are not using a proxy server, and I can browse to the http://www.adnsandbox.com/tools/ide/install/ page just fine using Firefox.  I also tried using Manage Sites to remove "Force.com IDE Update Site", then using "Add Site" to put it back in, but there was no change.

Any ideas?
  • December 11, 2009
  • Like
  • 0

Hi all,

 

Quite a few of you have asked me about the availability of CMSForce 2.

I'm very happy to announce that you can now find it on the AppExchange. On the listing you'll find a short demo video that will get you up to speed on the new features. (central management console, folders to organize your content, in-site editing, friendly urls, ...)

 

I'll also include a shameless plug here : If you want to see it in action 'live', come to my 'Increase Lead Volume with Compelling Landing Pages' session on wed 8 at DreamForce.

 

Hope to see you there! In the meantime : if you have questions, just drop them in community boards.

 

David

 

 

I am trying to generatin Web Service client for Enterpirse WSDL using JAX-WS but getting following error.

 

Errors occurred during wsimport.
 
  error: XPath evaluation of "//xsd:schema[@targetNamespace='urn:enterprise.soap.sforce.com']" results in empty target node
warning: src-resolve: Cannot resolve the name 'tns:ID' to a(n) 'type definition' component.
  line 0 of file:/C:/src/SalesForce-Enterprise.wsdl#types?schema1
error: A class/interface with the same name "com.sforce.soap.enterprise.DescribeLayout" is already in use. Use a class customization to resolve this conflict.
  line 0 of file:/C:/src/SalesForce-Enterprise.wsdl#types?schema2
error: (Relevant to above error) another "DescribeLayout" is generated from here.
  line 0 of file:/C:/src/SalesForce-Enterprise.wsdl#types?schema2
error: Two declarations cause a collision in the ObjectFactory class.
  line 0 of file:/C:/src/SalesForce-Enterprise.wsdl#types?schema2
error: (Related to above error) This is the other declaration.   
  line 0 of file:/C:src/SalesForce-Enterprise.wsdl#types?schema2
error: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.   

  com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration.   

 

I am using the below JAXB bindings..

<bindings
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://java.sun.com/xml/ns/jaxws">
    <bindings node="//xsd:schema[@targetNamespace='urn:enterprise.soap.sforce.com']">
      <jaxb:globalBindings underscoreBinding="asCharInWord"/>
      <jaxb:schemaBindings>
        <jaxb:nameXmlTransform>
          <jaxb:typeName suffix="Type" />
        </jaxb:nameXmlTransform>
      </jaxb:schemaBindings>
    </bindings>
    <enableWrapperStyle>false</enableWrapperStyle>
    <enableAsyncMapping>false</enableAsyncMapping>
</bindings>

 

Any help on this, is much appreciated.. Thaks

 

It might be duplicate post in the forum, sorry abou it....

  • May 05, 2010
  • Like
  • 0

Hi all,

 

From what I can tell, the difference between and organization user login and a customer portal login via the API is ...

 

- The organization user must have a security token appended to the password value

- The customer portal user needs to supply organizationID and portalID values in the LoginScopeHeader

 

I cannot determine any way to supply those header values using the Office Toolkit library though, so is it simply not possible to log in as a customer portal user via the Office Toolkit?

 

As an experiment, I did try using the SetSoapHeader function to set those headers, but the login was not successful.  I tried it using "LoginScopeHeader" as the section argument and also using "LoginScope" as the section argument.

 

If the Office Toolkit can't do this job, then does anyone have a recommendation regarding the easiest alternative means of accessing the WS API from VBA and legacy VB6 code?

 

Thanks,

 

- Steve J.

  • March 29, 2010
  • Like
  • 0

My site's home visualforce page renders the following HTML, 2 DTD lines.  Any idea how this would happen?  Do I have an uneccesary <apex> tag somewhere?

 

thanks,

 

Jason Gabler

 

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html><head>

I am finding when I use a Sites Component to encapsulate part of a page, it's being wrapped in a span tag. This is creating overlapping tags and leaving me with invalid markup.

 

How do I turn this span tag off?