• Srinivasaragavan Jayakumar
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 7
    Replies
I generated the class with the wsdl provided by my JAVA team. When i use the API i get the following error.

'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html'

When i analysed the resquest i understood the the SOAP tags miss the name space. 

The SOAP request that is expected is 

<m:uploadDoc xmlns:m="http://docuploadws.esb.pra.com/">
        <m:DocMessage>
            <m:ClinicalProtocolSite>
                <SponserName>001i000001e0vJMAAY</SponserName>
                <ArtifactRefName>Protocol Documents</ArtifactRefName>
                <ProtocolNumber>Recurrent Abdominal Pain in Children</ProtocolNumber>
                <PRAUserId>005i00000015wLDAAY</PRAUserId>
            </m:ClinicalProtocolSite>

But what i receive is like 

<m:uploadDoc xmlns:m="http://docuploadws.esb.pra.com/">
        <DocMessage>
            <ClinicalProtocolSite>
                <SponserName>001i000001e0vJMAAY</SponserName>
                <ArtifactRefName>Protocol Documents</ArtifactRefName>
                <ProtocolNumber>Recurrent Abdominal Pain in Children</ProtocolNumber>
                <PRAUserId>005i00000015wLDAAY</PRAUserId>
            </ClinicalProtocolSite>

How can i get the namespace along with the tag name. Can someone help me on this issue. 
I generated the class with the wsdl provided by my JAVA team. When i use the API i get the following error.

'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found ':html'

When i analysed the resquest i understood the the SOAP tags miss the name space. 

The SOAP request that is expected is 

<m:uploadDoc xmlns:m="http://docuploadws.esb.pra.com/">
        <m:DocMessage>
            <m:ClinicalProtocolSite>
                <SponserName>001i000001e0vJMAAY</SponserName>
                <ArtifactRefName>Protocol Documents</ArtifactRefName>
                <ProtocolNumber>Recurrent Abdominal Pain in Children</ProtocolNumber>
                <PRAUserId>005i00000015wLDAAY</PRAUserId>
            </m:ClinicalProtocolSite>

But what i receive is like 

<m:uploadDoc xmlns:m="http://docuploadws.esb.pra.com/">
        <DocMessage>
            <ClinicalProtocolSite>
                <SponserName>001i000001e0vJMAAY</SponserName>
                <ArtifactRefName>Protocol Documents</ArtifactRefName>
                <ProtocolNumber>Recurrent Abdominal Pain in Children</ProtocolNumber>
                <PRAUserId>005i00000015wLDAAY</PRAUserId>
            </ClinicalProtocolSite>

How can i get the namespace along with the tag name. Can someone help me on this issue. 
I am trying to deploy a project from IDE to a new ORG. It worked before (last year). I haven't changed package.xml since then. Could anyone suggest me how to fix this problem?

The errors are as follows:

dashboard2/name1/name1.dashboard name1/name1 : In field: report - no Report named name1/new_report found reports/name1/new_report.report name1/new_report: Cannot find folder: name1

Package.xml:

<types>
<members>name1</members>
<members>name1/name1</members>
<name>Dashboard</name>
</types>

<types>
<members>name1</members>
<members>name1/new_report</members>
<name>Report</name>
</types>

In src folder, there are:
dashboards/name1/name1.dashboard
dashboards/name1/name1_en.dashboard
reports/name1/new_report.report

name1-meta.xml
<?xml version="1.0" encoding="UTF-8"?>
<DashboardFolder xmlns="http://soap.sforce.com/2006/04/metadata">
<accessType>Public</accessType>
<name>name1 Dashboards</name>
<publicFolderAccess>ReadOnly</publicFolderAccess>
</DashboardFolder>

<?xml version="1.0" encoding="UTF-8"?>
<ReportFolder xmlns="http://soap.sforce.com/2006/04/metadata">
<accessType>Public</accessType>
<name>name1 Reports</name>
<publicFolderAccess>ReadOnly</publicFolderAccess>
</ReportFolder>
 
  • March 19, 2015
  • Like
  • 0

Hi All,

 

I am trying to create a search function in apex that contains SOSL. Here's my query :

String searchQry = 'FIND '\' ' + searchText +  '\' ' ;

List<List<SObject>> searchList = search.query(searchQry);

 

However, i am getting an error - "Entities should be explictly specified in SOSL call in Apex". I do not want to specify the objects coz i want it to search all objects. According to the documentation, the RETURNING Clause is optional - http://www.salesforce.com/us/developer/docs/soql_sosl/index.htm.

 

If i add the object, the error goes away. Please help !

 

Regards

Shuchi

  • September 10, 2012
  • Like
  • 0

Hi,

 

I have created Auto response rule for Lead object. While we receive auto response email one image tag (<img src="http://na6.salesforce.com/servlet/servlet.ImageServer?oid=XXXXXXXXXXXXXXXX&esid=0188000000EBtOz">) gets appended to html template.

 

Does anyone know why this image gets appended to email template? Thanks!

 

-Sapna