• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Talend To SugarCRM opportunity

#1 2009-10-19 21:40:34

wwhitman
Member
Registered: 2009-10-01
Posts: 13

[resolved] Talend To SugarCRM opportunity

I am attempting to create a job that will be run nightly. This job is to create opportunities in SugarCRM. I created a SugarCRMOutput object and populated it as best I could (defaulting many). I have requested a Trial SugarCRM interface. I also have a real implementation SugarCRM.  I can access the SugarCRM front end using the URL.
How do I convert this to the'Opportunity' portion of the Talend SugarCRMOutput object. When I put URl into the object.
Following error:
Exception in component tSugarCRMOutput_1
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.MalformedURLException: no protocol: index.php?action=Login&module=Users&login_module=Home&login_action=index
faultActor:
faultNode:
faultDetail:
    {http://xml.apache.org/axis/}stackTrace:java.net.MalformedURLException: no protocol: index.php?action=Login&module=Users&login_module=Home&login_action=index
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:133)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at org.talend.sugarws.SugarsoapBindingStub.login(SugarsoapBindingStub.java:1203)
    at org.talend.SugarManagement.SugarManagementImpl.login(SugarManagementImpl.java:79)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.tMysqlInput_1Process(SugarCrmOpportunity.java:1530)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.runJobInTOS(SugarCrmOpportunity.java:2163)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.main(SugarCrmOpportunity.java:2079)

    {http://xml.apache.org/axis/}hostname:billmac

java.net.MalformedURLException: no protocol: index.php?action=Login&module=Users&login_module=Home&login_action=index
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:727)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at org.talend.sugarws.SugarsoapBindingStub.login(SugarsoapBindingStub.java:1203)
    at org.talend.SugarManagement.SugarManagementImpl.login(SugarManagementImpl.java:79)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.tMysqlInput_1Process(SugarCrmOpportunity.java:1530)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.runJobInTOS(SugarCrmOpportunity.java:2163)
    at rightsflow.sugarcrmopportunity_0_1.SugarCrmOpportunity.main(SugarCrmOpportunity.java:2079)
Caused by: java.net.MalformedURLException: no protocol: index.php?action=Login&module=Users&login_module=Home&login_action=index
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at java.net.URL.<init>(Unknown Source)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:133)
    ... 16 more

THANX in advance

Offline

#2 2009-10-19 22:11:59

mhirt
Talend team
Registered: 2006-09-19
Posts: 1641

Re: [resolved] Talend To SugarCRM opportunity

Hi,

I think that your SugarCRM url is wrong.
It should be something like "http://mysugarcrmserver/sugarcrm/soap.php

HTH,

Offline

#3 2009-10-20 21:31:25

wwhitman
Member
Registered: 2009-10-01
Posts: 13

Re: [resolved] Talend To SugarCRM opportunity

THANX.
Working fine now

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Talend To SugarCRM opportunity

Board footer

Powered by FluxBB